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

feat: use the azsecrets, azkeys, azcertificates keyvault sdk #1109

Merged
merged 1 commit into from Apr 25, 2023

Conversation

aramase
Copy link
Member

@aramase aramase commented Apr 4, 2023

  • add keyvault interface
  • update auth to remove adapter and return token cred
  • implement keyvault interface and cleanup url usage
  • update e2e tests to use azsecrets
  • add mock_keyvault and initial unit test
  • remove getObjectVersion helper and use id.Version()
  • add unit test for getsecret
  • add unit test for getcerts

fixes #997

@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2023

Codecov Report

Merging #1109 (2630ff7) into master (835a5d9) will increase coverage by 5.38%.
The diff coverage is 22.67%.

@@            Coverage Diff             @@
##           master    #1109      +/-   ##
==========================================
+ Coverage   56.34%   61.72%   +5.38%     
==========================================
  Files          10       11       +1     
  Lines        1072     1079       +7     
==========================================
+ Hits          604      666      +62     
+ Misses        443      386      -57     
- Partials       25       27       +2     

@aramase aramase force-pushed the aramase/f/az_keyvault_sdk branch 3 times, most recently from 2630ff7 to 265433f Compare April 5, 2023 22:26
@aramase
Copy link
Member Author

aramase commented Apr 7, 2023

/azp run pr-e2e-azure

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase aramase marked this pull request as ready for review April 7, 2023 18:18
@aramase aramase requested a review from nilekhc as a code owner April 7, 2023 18:18
@github-actions
Copy link

This PR is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Apr 22, 2023
@aramase aramase added enhancement New feature or request and removed stale labels Apr 24, 2023
Copy link
Contributor

@nilekhc nilekhc left a comment

Choose a reason for hiding this comment

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

Just a small nit.

pkg/provider/keyvault.go Show resolved Hide resolved
* add keyvault interface
* update auth to remove adapter and return token cred
* implement keyvault interface and cleanup url usage
* update e2e tests to use azsecrets
* add mock_keyvault and initial unit test
* remove getObjectVersion helper and use id.Version()
* add unit test for getsecret
* add unit test for getcerts

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
@aramase
Copy link
Member Author

aramase commented Apr 25, 2023

/azp run pr-e2e-azure

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase aramase requested a review from nilekhc April 25, 2023 22:17
@aramase aramase merged commit 9f974df into Azure:master Apr 25, 2023
28 checks passed
@aramase aramase deleted the aramase/f/az_keyvault_sdk branch April 25, 2023 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from github.com/Azure/azure-sdk-for-go/services/keyvault to sdk/keyvault
3 participants