<a id="cli-aws-cloudextensions-create-profile-entry"></a>

# create-profile-entry

## Description

Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.

See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cloudextensions-2026-11-29/CreateProfileEntry)

`create-profile-entry` uses document type values. Document types follow the JSON data model where valid values are: strings, numbers, booleans, null, arrays, and objects. For command input, options and nested parameters that are labeled with the type `document` must be provided as JSON. Shorthand syntax does not support document types.

## Synopsis

```
  create-profile-entry
--profile-identifier <value>
[--client-token <value>]
--extension-identifier <value>
[--name <value>]
[--description <value>]
[--interfaces <value>]
[--execution-role <value>]
[--version-policy <value>]
[--settings <value>]
[--approve <value>]
[--tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
```

## Options

`--profile-identifier` (string) [required]

> The identifier (id or name) of the profile to bind the extension to.

> Constraints:

> * min: `1`
> * max: `1011`
> * pattern: `([a-z0-9]{10,63}|[a-z][a-z0-9]+([_-][a-z0-9]+)*)`

`--client-token` (string)

> A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.

> Constraints:

> * min: `1`
> * max: `64`
> * pattern: `[!-~]+`

`--extension-identifier` (string) [required]

> The id of the extension to bind, such as aws:secretsmanager.

> Constraints:

> * min: `6`
> * max: `49`
> * pattern: `[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*`

`--name` (string)

> The entry’s name, unique within the profile. Defaults to the name in the extension’s id.

> Constraints:

> * min: `2`
> * max: `32`
> * pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*`

`--description` (string)

> A description of the entry’s purpose.

> Constraints:

> * min: `1`
> * max: `256`
> * pattern: `[^ \p{Cc}][^\p{Cc}]*`

`--interfaces` (map)

> Per-interface options, keyed by the id of an interface the extension declares.

> Constraints:

> * min: `0`
> * max: `10`

> key -> (string)

> > The id of an interface the extension declares.

> > Constraints:

> > * pattern: `[a-z]([a-zA-Z0-9]{2,31})`

> value -> (tagged union structure)

> > The options for the interface.

> > #### NOTE
> > This is a Tagged Union structure. Only one of the following top level keys can be set: `http`.

> > http -> (structure)

> > > Options for an HTTP interface.

> > > authentication -> (tagged union structure)

> > > > How clients authenticate when calling this interface. Overrides the authentication in the profile’s interfaceDefaults.

> > > > #### NOTE
> > > > This is a Tagged Union structure. Only one of the following top level keys can be set: `none`, `runtimeCredentials`, `extensionKey`.

> > > > none -> (boolean)

> > > > > Whether clients may interact with the extension interface without authenticating.

> > > > runtimeCredentials -> (structure)

> > > > > Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

> > > > extensionKey -> (structure)

> > > > > Clients sign requests with SigV4 using a key the service issues.

> > > > > accessKeyId -> (string)

> > > > > > The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

> > > > > > Constraints:

> > > > > > * pattern: `CXEK[A-Z0-9]{16}`

> > > > > secretKey -> (tagged union structure)

> > > > > > The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

> > > > > > #### NOTE
> > > > > > This is a Tagged Union structure. Only one of the following top level keys can be set: `literal`, `reference`.

> > > > > > literal -> (string)

> > > > > > > The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

> > > > > > > Constraints:

> > > > > > > * pattern: `[a-zA-Z0-9-]{16,36}`

> > > > > > reference -> (string)

> > > > > > > The ARN of a Secrets Manager secret holding the secret key.

> > > > > > > Constraints:

> > > > > > > * min: `54`
> > > > > > > * max: `566`
> > > > > > > * pattern: `arn:[a-z0-9-]+:secretsmanager:[a-z0-9-]*:[0-9]{0,12}:secret:[a-zA-Z0-9/_+=\.@-]+`

> > > basePath -> (string)

> > > > The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

> > > > Constraints:

> > > > * min: `2`
> > > > * max: `256`
> > > > * pattern: `[a-zA-Z0-9~-][a-zA-Z0-9._~-]*`

JSON Syntax:

```json
{"string": {
      "http": {
        "authentication": {
          "none": true|false,
          "runtimeCredentials": {

          },
          "extensionKey": {
            "accessKeyId": "string",
            "secretKey": {
              "literal": "string",
              "reference": "string"
            }
          }
        },
        "basePath": "string"
      }
    }
  ...}
```

`--execution-role` (string)

> The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime’s principal.

> Constraints:

> * min: `20`
> * max: `1011`
> * pattern: `arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+`

`--version-policy` (structure)

> Controls which extension version this entry tracks and how it adopts new releases.

> updateStrategy -> (string)

> > The update strategy to use when a new extension version is available.

> > Possible values:

> > * `AUTOMATIC`
> > * `MANUAL`

> versionSelector -> (string)

> > An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

> > Constraints:

> > * pattern: `(0|[1-9]\d{0,7})(\.[xX*](\.[xX*])?|\.(0|[1-9]\d{0,7})(\.([xX*]|0|[1-9]\d{0,7}))?)?`

Shorthand Syntax:

```
updateStrategy=string,versionSelector=string
```

JSON Syntax:

```json
{
  "updateStrategy": "AUTOMATIC"|"MANUAL",
  "versionSelector": "string"
}
```

`--settings` (document)

> The setting values to use for this extension, as free-form JSON. Keys are the extension’s setting ids and the values are validated against the extension’s settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.

JSON Syntax:

```json
{...}
```

`--approve` (list)

> A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.

> Constraints:

> * min: `0`
> * max: `100`

> (string)

> > The path of a capability declared by the extension.

> > Constraints:

> > * min: `3`
> > * max: `128`
> > * pattern: `[a-z][a-zA-Z0-9]{2,31}(\.([a-z][a-zA-Z0-9]{2,31}|0|[1-9][0-9]?))*`

Syntax:

```
"string" "string" ...
```

`--tags` (map)

> Tags to assign to the profile entry.

> Constraints:

> * min: `0`
> * max: `50`

> key -> (string)

> > The key of the tag.

> > Constraints:

> > * min: `1`
> > * max: `128`

> value -> (string)

> > The value of the tag.

> > Constraints:

> > * min: `0`
> > * max: `256`

Shorthand Syntax:

```
KeyName1=string,KeyName2=string
```

JSON Syntax:

```json
{"string": "string"
  ...}
```

`--cli-input-json` | `--cli-input-yaml` (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by `--generate-cli-skeleton`. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with `--cli-input-yaml`.

`--generate-cli-skeleton` (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value `input`, prints a sample input JSON that can be used as an argument for `--cli-input-json`. Similarly, if provided `yaml-input` it will print a sample input YAML that can be used with `--cli-input-yaml`. If provided with the value `output`, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

## Global Options

`--debug` (boolean)

Turn on debug logging.

`--endpoint-url` (string)

Override command’s default URL with the given URL.

`--no-verify-ssl` (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

`--no-paginate` (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

`--output` (string)

The formatting style for command output.

* json
* text
* table
* yaml
* yaml-stream
* off

`--query` (string)

A JMESPath query to use in filtering the response data.

`--profile` (string)

Use a specific profile from your credential file.

`--region` (string)

The region to use. Overrides config/env settings.

`--version` (string)

Display the version of this tool.

`--color` (string)

Turn on/off color output.

* on
* off
* auto

`--no-sign-request` (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

`--ca-bundle` (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

`--cli-read-timeout` (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

`--cli-connect-timeout` (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

`--cli-binary-format` (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob `fileb://` will always be treated as binary and use the file contents directly regardless of the `cli-binary-format` setting. When using `file://` the file contents will need to properly formatted for the configured `cli-binary-format`.

* base64
* raw-in-base64-out

`--no-cli-pager` (boolean)

Disable cli pager for output.

`--cli-auto-prompt` (boolean)

Automatically prompt for CLI input parameters.

`--no-cli-auto-prompt` (boolean)

Disable automatically prompt for CLI input parameters.

`--cli-error-format` (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

* legacy
* json
* yaml
* text
* table
* enhanced

`--help` (boolean)

Display help for the command/subcommand.

## Output

id -> (string)

> The service-generated id of the profile entry.

> Constraints:

> * pattern: `[a-z0-9]{10,63}`

name -> (string)

> The name of the profile entry, unique within the profile. Defaults to the name in the extension’s id.

> Constraints:

> * min: `2`
> * max: `32`
> * pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*`

arn -> (string)

> The Amazon Resource Name (ARN) of the profile entry.

> Constraints:

> * min: `20`
> * max: `1011`
> * pattern: `arn:[a-z0-9-]+:cloudextensions:[a-z0-9-]*:([0-9]{0,12}|aws):[a-z]+/[a-zA-Z0-9/_:-]+`

profileId -> (string)

> The id of the profile this entry belongs to.

> Constraints:

> * pattern: `[a-z0-9]{10,63}`

profileName -> (string)

> The name of the profile this entry belongs to.

> Constraints:

> * min: `2`
> * max: `32`
> * pattern: `[a-z][a-z0-9]+([_-][a-z0-9]+)*`

extensionId -> (string)

> The id of the extension this entry references, such as aws:secretsmanager.

> Constraints:

> * min: `6`
> * max: `49`
> * pattern: `[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*`

extensionDisplayName -> (string)

> The display name of the extension this entry references.

> Constraints:

> * min: `1`
> * max: `64`
> * pattern: `[^\s\p{Cc}]([^\p{Cc}]*[^\s\p{Cc}])?`

versionPolicy -> (structure)

> Controls which extension version this entry tracks and how it adopts new releases.

> updateStrategy -> (string)

> > The update strategy to use when a new extension version is available.

> > Possible values:

> > * `AUTOMATIC`
> > * `MANUAL`

> versionSelector -> (string)

> > An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version

> > Constraints:

> > * pattern: `(0|[1-9]\d{0,7})(\.[xX*](\.[xX*])?|\.(0|[1-9]\d{0,7})(\.([xX*]|0|[1-9]\d{0,7}))?)?`

resolvedVersion -> (string)

> The extension version the entry’s version policy selects, which the Cloud Extensions Runtime runs.

> Constraints:

> * pattern: `(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})`

latestVersion -> (string)

> The extension’s latest released version, whether or not the entry’s version policy selects it.

> Constraints:

> * pattern: `(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})`

createdAt -> (timestamp)

> When the profile entry was created.

updatedAt -> (timestamp)

> When the profile entry was last updated. Equal to createdAt until the first update.

executionRole -> (string)

> The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime’s principal.

> Constraints:

> * min: `20`
> * max: `1011`
> * pattern: `arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+`

description -> (string)

> A description of the entry’s purpose.

> Constraints:

> * min: `1`
> * max: `256`
> * pattern: `[^ \p{Cc}][^\p{Cc}]*`

effectiveSettings -> (document)

> The setting values to use for this extension, including any applied default values. The settings will be validated against the extension’s settings’ definitions.

approvedCapabilities -> (map)

> A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.

> Constraints:

> * min: `0`
> * max: `100`

> key -> (string)

> > The path of an approved capability.

> > Constraints:

> > * min: `3`
> > * max: `128`
> > * pattern: `[a-z][a-zA-Z0-9]{2,31}(\.([a-z][a-zA-Z0-9]{2,31}|0|[1-9][0-9]?))*`

> value -> (tagged union structure)

> > The approved specification of the capability.

> > #### NOTE
> > This is a Tagged Union structure. Only one of the following top level keys can be set: `filesystem`, `aws`, `exec`.

> > filesystem -> (structure)

> > > Access to the host filesystem.

> > > directory -> (string)

> > > > A base directory path. If provided, grants access to this directory and its contents.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `255`

> > > paths -> (list)

> > > > Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `10`

> > > > (string)

> > > > > A file path to grant access to.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `255`

> > > accessMode -> (string) [required]

> > > > The level of filesystem access requested.

> > > > Possible values:

> > > > * `READ_ONLY`
> > > > * `READ_WRITE`

> > > createMode -> (string)

> > > > Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

> > > > Possible values:

> > > > * `PRIVATE`
> > > > * `PUBLIC`

> > aws -> (structure)

> > > Permission to call AWS service APIs.

> > > services -> (map) [required]

> > > > A map of AWS service names to the list of API operations the extension is allowed to invoke.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `20`

> > > > key -> (string)

> > > > > The name of an AWS service.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `32`

> > > > value -> (list)

> > > > > The API operations of the service the extension is allowed to invoke.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `100`

> > > > > (string)

> > > > > > The name of an API operation.

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `128`

> > exec -> (structure)

> > > Permission to execute a host command.

> > > command -> (string) [required]

> > > > The command to execute.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `512`

> > > args -> (list)

> > > > Arguments passed to the command.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `50`

> > > > (string)

> > > > > An argument passed to the command.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `128`

> > > timeoutInSeconds -> (integer)

> > > > Maximum time in seconds the command is allowed to run before being terminated.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `10`

inherited -> (structure)

> The profile’s extension defaults. An option set in an entry’s interfaces overrides the same option in the inherited interfaceDefaults.

> executionRole -> (string)

> > The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime’s principal. On update, an empty string removes the default role.

> > Constraints:

> > * min: `0`
> > * max: `1011`
> > * pattern: `$|^arn:[a-z0-9-]+:iam:[a-z0-9-]*:[0-9]{0,12}:role/[a-zA-Z0-9/_+=,.@-]+`

> interfaceDefaults -> (structure)

> > Default options for the interfaces of the extensions in this profile, by interface type.

> > http -> (structure)

> > > Default options for HTTP interfaces.

> > > authentication -> (tagged union structure)

> > > > The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface’s options.

> > > > #### NOTE
> > > > This is a Tagged Union structure. Only one of the following top level keys can be set: `none`, `runtimeCredentials`, `extensionKey`.

> > > > none -> (boolean)

> > > > > Whether clients may interact with the extension interface without authenticating.

> > > > runtimeCredentials -> (structure)

> > > > > Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

> > > > extensionKey -> (structure)

> > > > > Clients sign requests with SigV4 using a key the service issues.

> > > > > accessKeyId -> (string)

> > > > > > The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

> > > > > > Constraints:

> > > > > > * pattern: `CXEK[A-Z0-9]{16}`

> > > > > secretKey -> (tagged union structure)

> > > > > > The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

> > > > > > #### NOTE
> > > > > > This is a Tagged Union structure. Only one of the following top level keys can be set: `literal`, `reference`.

> > > > > > literal -> (string)

> > > > > > > The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

> > > > > > > Constraints:

> > > > > > > * pattern: `[a-zA-Z0-9-]{16,36}`

> > > > > > reference -> (string)

> > > > > > > The ARN of a Secrets Manager secret holding the secret key.

> > > > > > > Constraints:

> > > > > > > * min: `54`
> > > > > > > * max: `566`
> > > > > > > * pattern: `arn:[a-z0-9-]+:secretsmanager:[a-z0-9-]*:[0-9]{0,12}:secret:[a-zA-Z0-9/_+=\.@-]+`

interfaces -> (map)

> Per-interface options for this entry, keyed by the id of an interface the extension declares.

> Constraints:

> * min: `0`
> * max: `10`

> key -> (string)

> > The id of an interface the extension declares.

> > Constraints:

> > * pattern: `[a-z]([a-zA-Z0-9]{2,31})`

> value -> (tagged union structure)

> > The options for the interface.

> > #### NOTE
> > This is a Tagged Union structure. Only one of the following top level keys can be set: `http`.

> > http -> (structure)

> > > Options for an HTTP interface.

> > > authentication -> (tagged union structure)

> > > > How clients authenticate when calling this interface. Overrides the authentication in the profile’s interfaceDefaults.

> > > > #### NOTE
> > > > This is a Tagged Union structure. Only one of the following top level keys can be set: `none`, `runtimeCredentials`, `extensionKey`.

> > > > none -> (boolean)

> > > > > Whether clients may interact with the extension interface without authenticating.

> > > > runtimeCredentials -> (structure)

> > > > > Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.

> > > > extensionKey -> (structure)

> > > > > Clients sign requests with SigV4 using a key the service issues.

> > > > > accessKeyId -> (string)

> > > > > > The service-generated SigV4 access key id. Set by the service; a value supplied in a request is ignored.

> > > > > > Constraints:

> > > > > > * pattern: `CXEK[A-Z0-9]{16}`

> > > > > secretKey -> (tagged union structure)

> > > > > > The SigV4 secret key, supplied inline or by reference to a Secrets Manager secret. If omitted, the service generates a literal; an update that supplies no secret key rotates it.

> > > > > > #### NOTE
> > > > > > This is a Tagged Union structure. Only one of the following top level keys can be set: `literal`, `reference`.

> > > > > > literal -> (string)

> > > > > > > The secret key value supplied inline. Returned unmasked only in the create or update response that sets or rotates it; masked everywhere else.

> > > > > > > Constraints:

> > > > > > > * pattern: `[a-zA-Z0-9-]{16,36}`

> > > > > > reference -> (string)

> > > > > > > The ARN of a Secrets Manager secret holding the secret key.

> > > > > > > Constraints:

> > > > > > > * min: `54`
> > > > > > > * max: `566`
> > > > > > > * pattern: `arn:[a-z0-9-]+:secretsmanager:[a-z0-9-]*:[0-9]{0,12}:secret:[a-zA-Z0-9/_+=\.@-]+`

> > > basePath -> (string)

> > > > The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.

> > > > Constraints:

> > > > * min: `2`
> > > > * max: `256`
> > > > * pattern: `[a-zA-Z0-9~-][a-zA-Z0-9._~-]*`
