-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
ApiManagement - namedValue secrets and createContracts with required properties #8341
Conversation
Azure Pipelines successfully started running 1 pipeline(s). |
2 similar comments
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-js - Release
|
azure-sdk-for-go - Release
|
azure-sdk-for-python - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-java - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
...agement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/definitions.json
Show resolved
Hide resolved
...agement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/definitions.json
Show resolved
Hide resolved
...agement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/definitions.json
Show resolved
Hide resolved
...agement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/definitions.json
Show resolved
Hide resolved
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
@solankisamir , ClientSecret removed from Get. Could you please look again? |
Please do this on any property that accepts a secret value. In reply to: 584879568 [](ancestors = 584879568) Refers to: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/definitions.json:2277 in 1535884. [](commit_id = 1535884, deletion_comment = False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the x-ms-secret: true annotation to designate secret properties. I'll be able to sign off from ARM side after you make the change.
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed off from ARM side.
we should have a Refers to: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/apimnamedvalues.json:221 in 3ffd5be. [](commit_id = 3ffd5be, deletion_comment = False) |
@solankisamir , NamedValues don't always contain the secrets. We return 'value' property on GET and LIST in case "isSecret" property == false |
@vfedonkin I think we should have a consistent experience, so that the customer doesn't have to think whether GET will return him secrets or not. In reply to: 584976201 [](ancestors = 584976201) |
@solankisamir , you mean removing "isSecret" property and consider all NamedValues as secrets? Yep, I will do it. |
@solankisamir, @vfedonkin , please let me know when you have agreement and all concerns have been addressed, then I can merge this PR, thanks. |
Azure Pipelines successfully started running 1 pipeline(s). |
@solankisamir , namedValues are changed. Could you please validate? |
…renamed to listValue
Azure Pipelines successfully started running 1 pipeline(s). |
...crosoft.ApiManagement/preview/2019-12-01-preview/examples/ApiManagementUpdateNamedValue.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Azure Pipelines successfully started running 1 pipeline(s). |
@erich-wang , the PR is ready for merge, thank you. |
…properties (Azure#8341) * ApiManagement - listSecrets for NamedValues * ApiManagement - create contracts * ApiManagement - create contracts fix * ApiManagement - remove ClientSecret from get * ApiManagement - added x-ms-secret * ApiManagement - added x-ms-secret 2 * ApiManagement - nmaedValue removed 'secret' property * ApiManagement - namedValue returned 'secret' property, 'listSecrets' renamed to listValue * ApiManagement - namedValue small fix in sample
…properties (Azure#8341) * ApiManagement - listSecrets for NamedValues * ApiManagement - create contracts * ApiManagement - create contracts fix * ApiManagement - remove ClientSecret from get * ApiManagement - added x-ms-secret * ApiManagement - added x-ms-secret 2 * ApiManagement - nmaedValue removed 'secret' property * ApiManagement - namedValue returned 'secret' property, 'listSecrets' renamed to listValue * ApiManagement - namedValue small fix in sample
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.