Oracle Cloud Infrastructure Documentation

8. Generate an Auth Token to Enable Login to Oracle Cloud Infrastructure Registry

Before using Oracle 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 7. Set 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 9. Start 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:

  1. Log in to the Console as a functions developer.

  2. In the top-right corner of the Console, open the Profile menu (User menu icon) and then click User Settings to view the details.
  3. On the Auth Tokens page, click Generate Token.
  4. In the Generate Token dialog:
    1. Enter a meaningful description for the auth token. For example, John's auth token for use with Oracle Functions. Avoid entering confidential information.
    2. Click Generate Token. The new auth token is displayed. For example, 6<!)N___________6MqX.
  5. 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.
  6. Close the Generate Token dialog.

When you have completed the steps in this topic, go on to 9. Start Docker.