bda-oss-admin add_swift_cred

Add a single Oracle Big Data Cloud Service credential.

Syntax

bda-oss-admin add_swift_cred options 

Options

Option Description
--swift-username Service-IdentityDomain:username

Oracle Storage Cloud Service account administrator’s user name in the form Service-IdentityDomain:UserName, where

  • Service is the customer-supplied name of the Oracle Storage Cloud Service instance. This name was given when the storage service was provisioned.

  • IdentityDomain is the identity domain in which the service instance is provisioned. This name was given when the storage service was provisioned. (In Swift, this is called the tenant ID.)

  • UserName is the user name for a user with administrative privileges on the account. Conventionally, it is an e-mail address, but it can be any name.

User names must conform to the rules described in Naming Requirements.

You can find the storage details described above on the Service Details page of your Oracle Storage Cloud Service account.

Examples:

MyServiceName-MyIdenityDomain:MyUserName

bigdatastorage1-ProdDomain:my.name@example.com

--swift-password password

Password associated with username, described above..

If the password is Base64–encoded, use the -bflag, for example, --swift-password AnEncodedPassword —b.

--swift-storageurl url

The Oracle Storage Cloud Service (Swift) \ authentication URL from which to obtain authentication tokens, for example, https://storage.us2.oraclecloud.com/auth/v1.0.

--swift-provider provider_name

Give a name for the credentials being added, such as bigdatastorage1. The name is used as an alias for the credentials in Hadoop.

Provider names must conform to the rules described in Naming Requirements.

Note:

If you don’t specify a storage provider name, the name “BDCS” is used by default. For more information about the provider name, see Register Storage Credentials with the Cluster.

-N

--no-verify

Do not verify accounts against actual storage service before adding.

-h

--help

Show help for this command.

Environment Variables

Instead of providing storage credentials as options on the command line, you can set them as environment variables.

This environment variable... Is equivalent to this option...
ST_USER --swift-username
ST_KEY --swift-password
ST_AUTH --swift-storageurl
ST_PROVIDER --swift-provider

Example

# bda-oss-admin add_swift_cred --swift-username bigdatastorage1-ProdDomain:my.name@example.com --swift-password Welcome_1 --swift-storageurl https://storage.us2.oraclecloud.com/auth/v1.0 --swift-provider bigdatastorage1

#