Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing MFE ARM Spec to add support for expirable secrets to the listsecrets API #29519

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,12 @@
"Groundedness",
"AOAI",
"testconnection",
"aoai"
"aoai",
"SecretExpiry",
"expirableSecret",
"expireAfterHours",
"expire",
"expirable"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"name": "string",
"api-version": "2024-07-01-preview"
"api-version": "2024-07-01-preview",
"body": {
"expirableSecret": false,
"expireAfterHours": 1
}
},
"responses": {
"200": {
Expand All @@ -16,4 +20,3 @@
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -6602,6 +6602,9 @@
"produces": [
"application/json"
],
"consumes": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
Expand All @@ -6621,6 +6624,14 @@
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"in": "body",
"name": "body",
"description": "Secret expiry information.",
"schema": {
"$ref": "#/definitions/SecretExpiry"
}
}
],
"responses": {
Expand Down Expand Up @@ -22116,6 +22127,24 @@
},
"additionalProperties": false
},
"SecretExpiry": {
"description": "Secret expiration configuration.",
"type": "object",
"properties": {
"expirableSecret": {
"default": false,
"description": "Indicates if the secret is expirable.",
"type": "boolean"
},
"expireAfterHours": {
"default": 1,
"format": "int32",
"description": "Number of hours after which the secret will expire.",
"type": "integer"
}
},
"additionalProperties": false
},
"SecretsType": {
"description": "Enum to determine the datastore secrets type.",
"enum": [
Expand Down Expand Up @@ -24108,4 +24137,3 @@
}
}
}