Documentation ¶
Index ¶
- func BuildJSONWebKeySet(publicKeyContent []byte) ([]byte, error)
- func CreateKeyPair() ([]byte, []byte, error)
- func GenerateBucketName(userPrefix string) (string, error)
- func GenerateDiscoveryDocument(bucketURL string) string
- func IsValidBucketName(bucketName string) bool
- type JSONWebKeySet
- type OidcConfigInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildJSONWebKeySet ¶
BuildJSONWebKeySet builds JSON web key set from the public key
func CreateKeyPair ¶
func GenerateBucketName ¶
func IsValidBucketName ¶
Types ¶
type JSONWebKeySet ¶
type JSONWebKeySet struct {
Keys []jose.JSONWebKey `json:"keys"`
}
type OidcConfigInput ¶
type OidcConfigInput struct { BucketName string IssuerUrl string PrivateKey []byte PrivateKeyFilename string DiscoveryDocument string Jwks []byte PrivateKeySecretName string }
func BuildOidcConfigInput ¶
func BuildOidcConfigInput(userPrefix, region string) (OidcConfigInput, error)
Click to show internal directories.
Click to hide internal directories.