Docker Hub Target
You can define a Dockerhub target to be used with Docker Hub Dynamic or Rotated Secrets
Let’s create a Dockerhub target using the Akeyless CLI.
Create a Docker Hub target from the CLI
akeyless create-dockerhub-target
--name <target name>
--dockerhub-username <Dockerhub username>
--dockerhub-password <Dockerhub password>
The full list of options for this command is:
create-dockerhub-target
-n, --name *Target name
--dockerhub-username *Username for docker repository
--dockerhub-password *Password for docker repository
-k, --key Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
--comment Comment about the target
--profile, --token Use a specific profile (located at $HOME/.akeyless/profiles) or a temp access token
--username Optional username for various authentication flows
--password Optional password for various authentication flows
--uid-token The universal identity token, Required only for universal_identity authentication
-h, --help display help information
--json[=false] Set output format to JSON
--no-creds-cleanup[=false] Do not clean local temporary expired creds
Updated 3 months ago
Did this page help you?