Skip to content

Add how to get cert and save it as pfx #10018

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

Merged
merged 3 commits into from
Oct 22, 2019
Merged

Add how to get cert and save it as pfx #10018

merged 3 commits into from
Oct 22, 2019

Conversation

juntakata
Copy link
Contributor

@juntakata juntakata commented Sep 12, 2019

Some customers are asking Azure technical support how to download certificates on Key Vault as pfx files. I added few commands to do it.

Description

Some customers are asking Azure technical support how to download certificates on Key Vault as pfx files. I added few commands to do it.

Checklist

  • [x ] I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • the markdown help files have been regenerated using the commands listed here

Some customers are asking Azure technical support how to download certificates on Key Vault as pfx files. I added few commands to do it.
@adxsdkps
Copy link
Collaborator

Can one of the admins verify this patch?

@markcowl markcowl added Service Attention This issue is responsible by Azure service team. KeyVault labels Sep 13, 2019
@markcowl
Copy link
Member

@RandalliLama @schaabs This looks good to me, but can you take a look?

@markcowl
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Member

@markcowl markcowl left a comment

Choose a reason for hiding this comment

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

Also, please add a Changelog entry for Az.KeyVault undre src\KeyVault\KeyVault\Changelog.md

Thumbprint : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Tags :
Enabled : True
Created : 2/8/2016 11:21:45 PM
Updated : 2/8/2016 11:21:45 PM
```

This command gets the certificate named TestCert01 from the key vault named ContosoKV01.
This command gets the certificate named TestCert01 from the key vault named ContosoKV01. To download the certificate as pfx file, run following command. These commands access SecredId and then save the content as a pfx file.
Copy link
Member

Choose a reason for hiding this comment

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

The help format won't allow two different code blocks - instead, please just make this a separate example. Also, we will need to add suppressions for the mock secrets in your example, as our credential scanner has flagged them.

Thumbprint : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Tags :
Enabled : True
Created : 2/8/2016 11:21:45 PM
Updated : 2/8/2016 11:21:45 PM
```

This command gets the certificate named TestCert01 from the key vault named ContosoKV01.
This command gets the certificate named TestCert01 from the key vault named ContosoKV01. To download the certificate as pfx file, run following command. These commands access SecredId and then save the content as a pfx file.

Choose a reason for hiding this comment

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

Typo - 'SecredId' should be 'SecretId'

@wyunchi-ms wyunchi-ms merged commit 41f9a84 into Azure:master Oct 22, 2019
@juntakata juntakata deleted the patch-1 branch January 18, 2020 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KeyVault needs-review needs-revision Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants