Description
We currently rely on these consts to access and store credential values
// CredentialKey constants define the standard keys used in credential maps.
// These keys are used to store and retrieve different types of credentials.
const (
// CredentialKeyUsername is the key for storing username credentials
CredentialKeyUsername = "username"
// CredentialKeyPassword is the key for storing password credentials
CredentialKeyPassword = "password"
// CredentialKeyAccessToken is the key for storing access token credentials
CredentialKeyAccessToken = "accessToken"
// CredentialKeyRefreshToken is the key for storing refresh token credentials
CredentialKeyRefreshToken = "refreshToken"
)
Those will need to become its own spec within the oci bindings.
You can find the current scheme in here: bindings/go/oci/spec/credentials/v1
We also need to update the incoming credentials structure from map[string]string to runtime.Typed
AC
Done Criteria
Description
We currently rely on these consts to access and store credential values
Those will need to become its own spec within the oci bindings.
You can find the current scheme in here: bindings/go/oci/spec/credentials/v1
We also need to update the incoming credentials structure from map[string]string to
runtime.TypedAC
Done Criteria
map[string]stringcredentials withruntime.Typedinbindings/oci