Skip to content

Conversation

@madsd
Copy link
Contributor

@madsd madsd commented Nov 28, 2019

App Service cmd for importing certs from Key Vault:

  • az webapp|functionapp config ssl import

This checklist is used to make sure that common guidelines for a pull request are followed.

  • The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

  • I adhere to the Command Guidelines.

@madsd madsd requested a review from qwordy as a code owner November 28, 2019 23:44
@haroldrandom
Copy link
Contributor

Please run azdev linter {YOUR_MODULE} to make sure command's help message is valid

@madsd
Copy link
Contributor Author

madsd commented Nov 29, 2019

Hi @haroldrandom. I fixed the help error and some other styling. I also added a scenario test. The test works when I run it local, but fails in CI - the error is from creating an app service plan. The same lines of code found in numerous other tests. Any idea what is wrong?

@haroldrandom
Copy link
Contributor

@madsd Have you edited the recording YAML file manually?

@yonzhan yonzhan requested review from Juliehzl and jiasli December 1, 2019 10:50
@yonzhan yonzhan added this to the S162 milestone Dec 1, 2019
@yonzhan yonzhan assigned jiasli and unassigned Juliehzl Dec 1, 2019
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 1, 2019

@jiasli please help with the PR.

@madsd
Copy link
Contributor Author

madsd commented Dec 2, 2019

No changes to the Yaml file, and I can run the tests in live mode on my machine without problems. The strange thing is, that it seem to fail on the basic appservice plan create. Don't know if there is a way to get more details on the exception.

@panchagnula
Copy link
Contributor

No changes to the Yaml file, and I can run the tests in live mode on my machine without problems. The strange thing is, that it seem to fail on the basic appservice plan create. Don't know if there is a way to get more details on the exception.

you can delete the YAML file locally & re-record & upload the new yaml. You can also do is do a azdevsetup -c again on your local machine & see if you see this failure locally as well.

Copy link
Contributor

@panchagnula panchagnula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this. Just one comment on updating the command name to reflect that this is for managed certs only. Please check with the PM as well to help us here.

@madsd madsd changed the title Cmds for keyvault and managed certs in App Service App Service cmd for importing certs from Key Vault Dec 5, 2019
@yungezz
Copy link
Member

yungezz commented Dec 9, 2019

is it necessary to support version of cert?

@haroldrandom
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@madsd
Copy link
Contributor Author

madsd commented Dec 10, 2019

is it necessary to support version of cert?

No, the commands setups up the integration with KV and pulls the latest version - any future versions of the certs are handled directly between App Service and Key Vault.

@madsd
Copy link
Contributor Author

madsd commented Dec 10, 2019

@yungezz, @haroldrandom requested changes has been implemented and the the latest History.rst conflict resolved.

Copy link
Contributor

@haroldrandom haroldrandom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Please @jiasli @panchagnula take a look

@panchagnula panchagnula merged commit 4f499eb into Azure:dev Dec 11, 2019
@madsd madsd deleted the key-vault-cert branch December 12, 2019 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants