Use this template to configure credentials for accessing repositories and remote hosts. The following authentication types are available:
- Basic username/password authentication type.
- SSH private key authentication type. Note that Command Central supports only the PKCS #1 definition of the ASN.1 syntax for representing the SSH private keys.
- Encrypted passwords.
- Command Central 10.1 and higher
All supported Windows and UNIX platforms.
Configure credentials:
sagcc exec templates composite apply sag-cc-creds-dev cc.password=mycustompass --sync-job --wait 20 -c 5
Run the 'sagcc exec security encrypt' command in the Command Central CLI specifying the password to encrypt. Use the encrypted password value that the CLI returns.
Alternatively, in the Command Central web user interface:
- Navigate to CCE > Command Central > Configurations > Credentials.
- Click the + icon and select Username and password type from the menu.
- Fill in the required fields, including password and save the configuration.
- Click on the newly created configuration and click Export.
- Use the encrypted value of the
Password:
property.
The encrypted password can be stored in a YAML file, or a properties file and added to a version control system.