Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for STSEndpoint (0.13 sec)

  1. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 12 16:09:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  7. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top