v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.SecretService

UpdateSecretValue

Updates the value of an existing secret.

Use this method to:

  • Rotate secret values
  • Update credentials

Examples

  • Update secret value:

    Changes the value of an existing secret.

    secretId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
    value: "new-secret-value"
    
post/gitpod.v1.SecretService/UpdateSecretValue

Request body

secretIdstring uuid
valuestring

value is the plaintext value of the secret

Response

Success

GitpodV1UpdateSecretValueResponse required