Skip to content

Latest commit

 

History

History
167 lines (102 loc) · 4.69 KB

upload-keystore-dea2506.md

File metadata and controls

167 lines (102 loc) · 4.69 KB

upload-keystore

This command is used to upload a keystore by uploading the keystore file. You can upload keystores on subaccount, application, and subscription levels.

Remember:

SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.

For more information, see SAP Note 3351844.

Tip:

This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform ↗️.

To list all parameters available for this command, execute neo help upload-keystore in the command line.

Required

-a, --account

Consumer subaccount technical name

The account for which you provide username and password.

Type: string (up to 30 characters; lowercase letters and numbers, starting with a letter)

-h, --host

Enter a region host.

Type: URL, for acceptable values see Regions ↗️.

-l,--location

Path to a keystore file to be uploaded from the local file system. The file extension determines the keystore type. The following extensions are supported: .jks, .jceks, .p12, .pem. For more information about the keystore formats, see Features

Type: string

-u, --user

Use your email, SAP ID or user name

Type: string

Optional

-b, --application

Application name

  • Use --application <consumer_application_name> if the application is running in your subaccount.
  • Use --application <provider_subaccount_technical_name>:<provider_application_name> if the application is running in another subaccount.

Type: string (up to 30 characters; lowercase letters and numbers, starting with a letter)

-w, --overwrite

Overwrites a file with the same name if such already exists. If you do not explicitly include the --overwrite argument, you will be notified and asked if you want to overwrite the file.

Example

On Subscription Level

neo upload-keystore --account <consumer_subaccount_technical_name> --application <provider_subaccount_technical_name>:<provider_application_name>
--user <e-mail_or_user> --location C:\Keystores\KeyStore1.jks --host hana.ondemand.com

On Application Level

neo upload-keystore --account <provider_subaccount_technical_name> --application <application_name>
--user <e-mail_or_user> --location C:\Keystores\KeyStore1.jks --host hana.ondemand.com

On Subaccount Level

neo upload-keystore --account <subaccount_technical_name> --user <e-mail_or_user>
--location C:\Keystores\KeyStore1.jks --host hana.ondemand.com

Related Information

Keystore Console Commands

Keys and Certificates

Using the Keystore Service for Client Side HTTPS Connections