Generating an Auth Token to Enable Login to Oracle Cloud Infrastructure Registry
Find out how to generate an auth token to enable login to Oracle Cloud Infrastructure Registry for use with OCI Functions.
Before using OCI Functions, the user account you'll be using to create and deploy functions must have an Oracle Cloud Infrastructure auth token. You use the auth token as the password when logging Docker in to Oracle Cloud Infrastructure Registry
The instructions in this topic assume you have already completed the steps in Setting the Context for the Fn Project CLI Using the oracle.profile Parameter.
If the user account already has an auth token, go straight on to Starting Docker. Otherwise, if the user account does not have an auth token, generate an auth token now.
To generate an auth token for the user account you'll be using to create and deploy functions:
-
Sign in to the Console as a functions developer.
- In the top-right corner of the Console, open the Profile menu and then click User Settings to view the details.
- On the Auth Tokens page, click Generate Token.
- In the Generate Token dialog:
- Enter a meaningful description for the auth token. For example,
John's auth token for use with OCI Functions
. Avoid entering confidential information. - Click Generate Token. The new auth token is displayed. For example,
6aN___________6MqX
.
- Enter a meaningful description for the auth token. For example,
- Copy the auth token immediately to a secure location from where you can retrieve it later, because you won't see the auth token again in the Console.
- Close the Generate Token dialog.
When you have completed the steps in this topic, go on to Starting Docker.