You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vault also uses various AuthBackend Kinds, such as the JWT AuthBackend, which enables SSO auth via OIDC.
Passing the accessor ID of the AuthBackend directly to GroupAlias works as expected.
Passing the accessor ID via either:
Name reference
Selector reference
Does not work, as the provider looks for the regular Backend Kind rather than AuthBackend.
I've created a small composition using the go-templating composition function to retrieve the value of the AuthBackend accessor and pass it to the GroupAliasmountAccessor field directly as a workaround.
I would like GroupAlias to support both Backend and AuthBackend Kinds for reference lookups, to eliminate the need for this composition and simplify the user experience.
How can we reproduce it?
Create an AuthBackend in Vault. Take note of the accessor ID in the GUI/CLI.
Create a GroupAlias resource, passing the accessor ID directly to the mountAccessor field. This should work.
Update the GroupAlias to use mountAccessorRef and receive an error. Note that the missing reference is to the regular Backend kind instead of AuthBackend.
What environment did it happen in?
Crossplane: v1.18
Vault provider: 2.0.1
The text was updated successfully, but these errors were encountered:
What happened?
The GroupAlias Kind can take a mountAccessor value in three ways:
All three options work with the Backend Kind.
Vault also uses various
AuthBackend
Kinds, such as the JWT AuthBackend, which enables SSO auth via OIDC.Passing the accessor ID of the AuthBackend directly to GroupAlias works as expected.
Passing the accessor ID via either:
Does not work, as the provider looks for the regular
Backend
Kind rather thanAuthBackend
.I've created a small composition using the go-templating composition function to retrieve the value of the
AuthBackend
accessor and pass it to theGroupAlias
mountAccessor
field directly as a workaround.I would like
GroupAlias
to support bothBackend
andAuthBackend
Kinds for reference lookups, to eliminate the need for this composition and simplify the user experience.How can we reproduce it?
mountAccessor
field. This should work.GroupAlias
to usemountAccessorRef
and receive an error. Note that the missing reference is to the regularBackend
kind instead ofAuthBackend
.What environment did it happen in?
Crossplane: v1.18
Vault provider: 2.0.1
The text was updated successfully, but these errors were encountered: