Back to Operations

Set Secret

Microsoft Key Vault

Operation Information

Details and metadata

Operation Name
Microsoft.KeyVault/vaults/secrets/setSecret/action
Display Name
Set Secret
Description
Sets the value of a secret. If the secret does not exist, the first version is created. Otherwise, a new version is created with the specified value.
Operation Type
Data Plane
Provider
Microsoft Key Vault
Resource Type
Secret

Roles Allowing This Operation

3 roles grant this permission

Role Name Actions Data Actions Note
Key Vault Administrator
00482a5a-887f-4fb3-b363-3b7fe8e74483
78 52
Key Vault Secrets Officer
b86a8fe4-44ce-4948-aee5-eccb2c155cd7
78 9
Operator Nexus Key Vault Writer Service Role (Preview)
44f0a1a8-6fea-4b35-980a-8ff50c487c97
1 1

Note: This list includes roles where the operation is allowed by the role's actions or dataActions patterns, excluding any patterns in notActions or notDataActions. Wildcard patterns (like */read or *) are expanded to match this specific operation.