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

Add support for Delinea Secret Server #457

Merged

Conversation

GerbenWelter
Copy link
Contributor

Description

Adds support for Delinea Secret Server (formerly known as Thycotic Secret Server)

Checklist

Please make sure that your PR fulfills the following requirements:

  • Reviewed the guidelines for contributing to this repository
  • The commit message follows the Conventional Commits Guidelines.
  • Tests for the changes have been updated
  • Are you adding dependencies? If so, please run go mod tidy -compat=1.17 to ensure only the minimum is pulled in.
  • Docs have been added / updated
  • Optional. My organization is added to USERS.md.

Type of Change

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

Other information

This PR is largely a rebase of #428. Many thanks to @fdammeke for providing it. Because the PR looked stale and needed a rebase I made this PR with the following changes:

  • Rebase on latest main branch
  • Switch to newer Delinea SDK (The Thycotic SDK seems to be removed)
  • Added option to configure authentication domain.
  • Updated documentation

Also #428 provided tests for getting secrets but it was using a local Secret Server to pass the tests. Unfortunately the Delinea SDK doesn't seem to have provisionings for mock testing requests.

I do have added tests for the configuration validation.

The argocd-vault-plugin binary has been tested with an on-premise Delinea Secret Server.

@CLAassistant
Copy link

CLAassistant commented Jan 27, 2023

CLA assistant check
All committers have signed the CLA.

@GerbenWelter GerbenWelter force-pushed the feature/add_delinea_secret_server branch 2 times, most recently from 5c5376a to ced8be9 Compare March 27, 2023 08:52
@werne2j
Copy link
Member

werne2j commented Mar 31, 2023

@GerbenWelter Can you update your branch and resolve conflicts?

@werne2j werne2j mentioned this pull request Mar 31, 2023
14 tasks
@GerbenWelter GerbenWelter force-pushed the feature/add_delinea_secret_server branch from ced8be9 to 989a4f3 Compare April 1, 2023 18:23
@GerbenWelter GerbenWelter force-pushed the feature/add_delinea_secret_server branch from 989a4f3 to 4d28244 Compare April 1, 2023 18:24
@GerbenWelter
Copy link
Contributor Author

@werne2j done.

@codecov-commenter
Copy link

Codecov Report

Merging #457 (4d28244) into main (7271864) will decrease coverage by 2.25%.
The diff coverage is 27.63%.

@@            Coverage Diff             @@
##             main     #457      +/-   ##
==========================================
- Coverage   77.55%   75.31%   -2.25%     
==========================================
  Files          24       25       +1     
  Lines        1613     1689      +76     
==========================================
+ Hits         1251     1272      +21     
- Misses        269      323      +54     
- Partials       93       94       +1     
Impacted Files Coverage Δ
pkg/backends/delineasecretsmanager.go 0.00% <0.00%> (ø)
pkg/config/config.go 84.14% <87.50%> (+0.36%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@werne2j werne2j left a comment

Choose a reason for hiding this comment

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

Thanks @GerbenWelter! Not familiar with Delinea but the code looks good.

@werne2j werne2j merged commit ddbd42b into argoproj-labs:main Apr 1, 2023
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.

4 participants