Web Targets

You can define a web target to be used with a Custom Dynamic Secrets or with a Custom Rotated Secret

Let’s create a web target using the Akeyless CLI.

Create a web target from the CLI

The CLI command to create a web target is:

akeyless create-web-target
--name <target name>
--url <url of your web application>


The full list of options for this command is:

-n, --name                      *Target name
      --comment                    Comment about the target
  -u, --url                        Web target URL
  -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
      --profile                    Use a specific profile from your akeyless/profiles/ folder
      --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

Did this page help you?