Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCredentials ¶
type ClientCredentials struct { ClientID string `json:"clientId"` //nolint:tagliatelle // json tag required as is Secret string `json:"clientSecret"` //nolint:tagliatelle // json tag required as is }
DSV is the namespace for mage tasks related to DSV, such as client credential creation.
type DSV ¶
DSV is the namespace for mage tasks related to DSV, such as client credential creation.
func (DSV) ConvertClientToCredentials ¶
ConvertClientToCredentials reads the client credentials created in .cache and converts to the format the helm chart/injector expect.
func (DSV) CreateSecret ¶
🔐 CreateSecret creates a secret for usage with this specific client, policy, and role setup. This probably needs refactoring to allow input via pterm or via file. At time of creation (2023-04) it's a draft task to help with better test setup for developers wanting to test and have isolated permissions for just this specific secret path, role, client. It's all hard coded but can improve in the future.