microsoft-graph-docs
microsoft-graph-docs copied to clipboard
Feature request: Ability to remove secrets
The trustFrameworkKeySet resource type (https://learn.microsoft.com/en-us/graph/api/resources/trustframeworkkeyset?view=graph-rest-beta ) supports uploading secrets and certificates, but no way to remove them again.
Updating the entire keyset with json body:
{
"keys": [
{
"kid": "<key>",
"use": "enc",
"kty": "secret"
}
]
}
throws the following error: AADB2C95059","message":"One of the keys in the payload has 'kid' which is not empty."
So the only way to trim down the keyset seems to be to delete it and create a new one.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 412a609e-b833-5bf3-cd6a-aea379f6e57c
- Version Independent ID: df715737-2992-a7cd-cad9-f6ebe3ffaae9
- Content: trustFrameworkKeySet resource type - Microsoft Graph beta
- Content Source: api-reference/beta/resources/trustframeworkkeyset.md
- Product: identity-and-sign-in
- Technology: microsoft-graph
- GitHub Login: @nickgmicrosoft
- Microsoft Alias: MSGraphDocsVteam