# sdm admin managedsecrets update

```shell
NAME:
   sdm admin managedsecrets update - update managed secret

USAGE:
   sdm admin managedsecrets update [command options] <secret engine name> <managed secret name>

OPTIONS:
   --name value                         new managed secret name
   --password-length value              Password length (default: 0)
   --password-num-digits value          Numbers of digits to use when generating password (default: 0)
   --password-num-symbols value         Number of symbos to use when generating password (default: 0)
   --password-allow-repeat              If set to true allows for consecutive characters to repeat itself
   --password-exclude-characters value  Set of characters to exclude when generating password
   --password-exclude-uppercase         If set to true do not include upper case letters when generating password
   --delete-password-policy             If set to true disables managed secret's password policy. Secret's engine policy or default one will be used instead.
   --password value                     password for service account (supported by Active Directory)
   --user-dn value                      distinguished Name of account that is managed (supported by Active Directory)
   --ttl value                          duration when the password is valid (supported by Active Directory)
   --after-read-ttl value               duration after read before the password get's rotated (supported by Active Directory)
   --value-file value                   Read value from JSON file. "-" is stdin
   --json, -j                           output as json
   --timeout value                      set time limit for command
   --retries value                      set number of retries (default: 3)
   --tags value                         tags e.g. 'key=value,...'
   --delete-tags value                  delete-tags e.g. 'key,...'
   --delete-all-tags                    
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.strongdm.com/references/cli/admin/managedsecrets/update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
