update_credential
Change a credential, by the id from list_credentials: its name, its value, or who may read it — each on its own, and only what you pass is touched, so taking somebody off the list never needs the value. 'readers' REPLACES the list; noReaders: true empties it. Only the person who attached it and the project's lead may change one: being shown a secret is not being given it to pass on. The answer never carries the value. Do not repeat the value in any text you write — a comment, a description, a merge request, a log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Credential id, from list_credentials. | |
| name | No | A new name. Leave it out to keep the name. | |
| value | No | A new value. Leave it out to keep the value. | |
| readers | No | Who else may read it from now on, comma-separated usernames or emails. Replaces the whole list. Leave it out to keep the list. | |
| noReaders | No | True to leave nobody on the list — the author and the project's lead still read it. |