- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for STSEndpoint (0.08 sec)
-
docs/sts/custom-token-identity.go
var ( // LDAP integrated Minio endpoint stsEndpoint string // token to use with AssumeRoleWithCustomToken token string // Role ARN to use roleArn string // Display credentials flag displayCreds bool // Credential expiry duration expiryDuration time.Duration // Bucket to list bucketToList string ) func init() { flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3.4K bytes - Viewed (0) -
docs/sts/assume-role.go
} if expiryDuration != 0 { stsOpts.DurationSeconds = int(expiryDuration.Seconds()) } li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts) if err != nil { log.Fatalf("Error initializing STS Identity: %v", err) } stsEndpointURL, err := url.Parse(stsEndpoint) if err != nil { log.Fatalf("Error parsing sts endpoint: %v", err) } opts := &minio.Options{ Creds: li,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/sts/client-grants.go
type JWTToken struct { AccessToken string `json:"access_token"` Expiry int `json:"expires_in"` } var ( stsEndpoint string idpEndpoint string clientID string clientSecret string ) func init() { flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0) -
docs/sts/ldap.go
if expiryDuration != 0 { ldapOpts = append(ldapOpts, cr.LDAPIdentityExpiryOpt(expiryDuration)) } li, err := cr.NewLDAPIdentity(stsEndpoint, ldapUsername, ldapPassword, ldapOpts...) if err != nil { log.Fatalf("Error initializing LDAP Identity: %v", err) } stsEndpointURL, err := url.Parse(stsEndpoint) if err != nil { log.Fatalf("Error parsing sts endpoint: %v", err) } opts := &minio.Options{ Creds: li,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 4K bytes - Viewed (0) -
docs/sts/web-identity.go
} sts, err := credentials.NewSTSWebIdentity(stsEndpoint, getWebTokenExpiry) if err != nil { log.Println(fmt.Errorf("Could not get STS credentials: %s", err)) http.Error(w, err.Error(), http.StatusBadRequest) return } opts := &minio.Options{ Creds: sts, BucketLookup: minio.BucketLookupAuto, } u, err := url.Parse(stsEndpoint) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
cmd/sts-handlers_test.go
User: "dillon", }) if err != nil { c.Fatalf("Unable to attach policy: %v", err) } assumeRole := cr.STSAssumeRole{ Client: s.TestSuiteCommon.client, STSEndpoint: s.endPoint, Options: cr.STSAssumeRoleOptions{ AccessKey: "dillon", SecretKey: "dillon-123", Location: "", }, } value, err := assumeRole.Retrieve() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0) -
cmd/veeam-sos-api.go
// // - The current protocol version is 1.0. type apiEndpoints struct { IAMEndpoint string `xml:"IAMEndpoint"` STSEndpoint string `xml:"STSEndpoint"` } // globalVeeamForceSC is set by the environment variable _MINIO_VEEAM_FORCE_SC // This will override the storage class returned by the storage backend if it is non-standard
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/site-replication/gen-oidc-sts-cred.go
if err != nil { log.Fatalf("Failed to generate OIDC token: %v", err) } roleARN := os.Getenv("ROLE_ARN") webID := cr.STSWebIdentity{ Client: &http.Client{}, STSEndpoint: endpoint, GetWebIDTokenExpiry: func() (*cr.WebIdentityToken, error) { return &cr.WebIdentityToken{ Token: oidcToken, }, nil }, RoleARN: roleARN, } value, err := webID.Retrieve()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 29 01:27:09 UTC 2022 - 2.3K bytes - Viewed (0)