package
7.0.87
Repository: https://github.com/minio/minio-go.git
Documentation: pkg.go.dev

# Functions

CertificateIdentityWithExpiry returns a CertificateIdentityOption that customizes the STSCertificateIdentity with the given livetime.
CertificateIdentityWithTransport returns a CertificateIdentityOption that customizes the STSCertificateIdentity with the given http.RoundTripper.
CustomTokenValidityOpt sets the validity duration of the requested credentials.
LDAPIdentityExpiryOpt sets the expiry duration for requested credentials.
LDAPIdentityPolicyOpt sets the session policy for requested credentials.
New returns a pointer to a new Credentials with the provider set.
NewChainCredentials returns a pointer to a new Credentials object wrapping a chain of providers.
NewCustomTokenCredentials - returns credentials using the AssumeRoleWithCustomToken STS API.
NewEnvAWS returns a pointer to a new Credentials object wrapping the environment variable provider.
NewEnvMinio returns a pointer to a new Credentials object wrapping the environment variable provider.
NewFileAWSCredentials returns a pointer to a new Credentials object wrapping the Profile file provider.
NewFileMinioClient returns a pointer to a new Credentials object wrapping the Alias file provider.
NewIAM returns a pointer to a new Credentials object wrapping the IAM.
NewKubernetesIdentity returns a pointer to a new Credentials object using the Kubernetes service account.
NewLDAPIdentity returns new credentials object that uses LDAP Identity.
NewLDAPIdentityWithSessionPolicy returns new credentials object that uses LDAP Identity with a specified session policy.
NewStatic returns a pointer to a new Credentials object wrapping a static credentials value provider.
NewStaticV2 returns a pointer to a new Credentials object wrapping a static credentials value provider, signature is set to v2.
NewStaticV4 is similar to NewStaticV2 with similar considerations.
NewSTSAssumeRole returns a pointer to a new Credentials object wrapping the STSAssumeRole.
NewSTSCertificateIdentity returns a STSCertificateIdentity that authenticates to the given STS endpoint with the given TLS certificate and retrieves and rotates S3 credentials.
NewSTSClientGrants returns a pointer to a new Credentials object wrapping the STSClientGrants.
NewSTSWebIdentity returns a pointer to a new Credentials object wrapping the STSWebIdentity.
WithPolicy option will enforce that the returned credentials will be scoped down to the specified policy.

# Constants

IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
DefaultExpiryWindow - Default expiry window.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
Anonymous signature signifies, no signature.
SignatureDefault is always set to v4.
Different types of supported signatures - default is SignatureV4 or SignatureDefault.
Different types of supported signatures - default is SignatureV4 or SignatureDefault.
Different types of supported signatures - default is SignatureV4 or SignatureDefault.
STSVersion sts version string.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.
IAM Roles for Amazon EC2 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html.

# Structs

AssumedRoleUser - The identifiers for the temporary security credentials that the operation returns.
AssumeRoleResponse contains the result of successful AssumeRole request.
AssumeRoleResult - Contains the response to a successful AssumeRole request, including temporary credentials that can be used to make MinIO API requests.
AssumeRoleWithClientGrantsResponse contains the result of successful AssumeRoleWithClientGrants request.
AssumeRoleWithCustomTokenResponse contains the result of a successful AssumeRoleWithCustomToken request.
AssumeRoleWithLDAPResponse contains the result of successful AssumeRoleWithLDAPIdentity request.
AssumeRoleWithWebIdentityResponse contains the result of successful AssumeRoleWithWebIdentity request.
A Chain will search for a provider which returns credentials and cache that provider until Retrieve is called again.
ClientGrantsResult - Contains the response to a successful AssumeRoleWithClientGrants request, including temporary credentials that can be used to make MinIO API requests.
ClientGrantsToken - client grants token with expiry.
CredContext is passed to the Retrieve function of a provider to provide some additional context to retrieve credentials.
Credentials - A container for synchronous safe retrieval of credentials Value.
CustomTokenIdentity - satisfies the Provider interface, and retrieves credentials from MinIO using the AssumeRoleWithCustomToken STS API.
CustomTokenResult - Contains temporary creds and user metadata.
A EnvAWS retrieves credentials from the environment variables of the running process.
A EnvMinio retrieves credentials from the environment variables of the running process.
Error - Is the typed error returned by all API operations.
ErrorResponse - Is the typed error returned.
A Expiry provides shared expiration logic to be used by credentials providers to implement expiry functionality.
A FileAWSCredentials retrieves credentials from the current user's home directory, and keeps track if those credentials are expired.
A FileMinioClient retrieves credentials from the current user's home directory, and keeps track if those credentials are expired.
A IAM retrieves credentials from the EC2 service, and keeps track if those credentials are expired.
LDAPIdentity retrieves credentials from MinIO.
LDAPIdentityResult - contains credentials for a successful AssumeRoleWithLDAPIdentity request.
A Static is a set of credentials which are set programmatically, and will never expire.
A STSAssumeRole retrieves credentials from MinIO service, and keeps track if those credentials are expired.
STSAssumeRoleOptions collection of various input options to obtain AssumeRole credentials.
A STSCertificateIdentity retrieves S3 credentials from the MinIO STS API and rotates those credentials once they expire.
A STSClientGrants retrieves credentials from MinIO service, and keeps track if those credentials are expired.
A STSWebIdentity retrieves credentials from MinIO service, and keeps track if those credentials are expired.
A Value is the S3 credentials value for individual credential fields.
WebIdentityResult - Contains the response to a successful AssumeRoleWithWebIdentity request, including temporary credentials that can be used to make MinIO API requests.
WebIdentityToken - web identity token with expiry.

# Interfaces

A Provider is the interface for any component which will provide credentials Value.

# Type aliases

CertificateIdentityOption is an optional AssumeRoleWithCertificate parameter - e.g.
CustomTokenOpt is a function type to configure the custom-token based credentials using NewCustomTokenCredentials.
LDAPIdentityOpt is a function type used to configured the LDAPIdentity instance.
SignatureType is type of Authorization requested for a given HTTP request.