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

chore(targets): remove deprecated fields on target api/cli/sdk and service #1533

Merged
merged 1 commit into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Canonical reference for changes, improvements, and bugfixes for Boundary.

### Deprecations/Changes

* Targets: Removes support for `credential libraries` with respect to Target resources.
The `library` `fields` and `actions` were deprecated in [Boundary 0.5.0](#050-20210802),
please use `credential sources` instead. See changelog referenced above for
more details ([PR](https://github.com/hashicorp/boundary/pull/1533)).
* Credential Libraries: The `user_password` credential type has been renamed to
`username_password` to remove any inconsistency over what the credential type is.
All existing `user_password` typed credential libraries will be migrated to
Expand Down
10 changes: 0 additions & 10 deletions api/targets/credential_library.gen.go

This file was deleted.

12 changes: 0 additions & 12 deletions api/targets/option.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,6 @@ func WithRecursive(recurse bool) Option {
}
}

func WithApplicationCredentialLibraryIds(inApplicationCredentialLibraryIds []string) Option {
return func(o *options) {
o.postMap["application_credential_library_ids"] = inApplicationCredentialLibraryIds
}
}

func DefaultApplicationCredentialLibraryIds() Option {
return func(o *options) {
o.postMap["application_credential_library_ids"] = nil
}
}

func WithApplicationCredentialSourceIds(inApplicationCredentialSourceIds []string) Option {
return func(o *options) {
o.postMap["application_credential_source_ids"] = inApplicationCredentialSourceIds
Expand Down
7 changes: 3 additions & 4 deletions api/targets/session_credential.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

238 changes: 22 additions & 216 deletions api/targets/target.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading