Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for saveIAMFormat (0.1 sec)

  1. cmd/iam.go

    	defer cancel()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	// Migrate storage format if needed.
    	for {
    		// Migrate IAM configuration, if necessary.
    		if err := saveIAMFormat(retryCtx, sys.store); err != nil {
    			if configRetriableErrors(err) {
    				retryInterval := time.Duration(r.Float64() * float64(time.Second))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		basePath = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePath = iamConfigSTSPrefix
    	default:
    		basePath = iamConfigUsersPrefix
    	}
    	return pathJoin(basePath, user, iamIdentityFile)
    }
    
    func saveIAMFormat(ctx context.Context, store IAMStorageAPI) error {
    	bootstrapTraceMsg("Load IAM format file")
    	var iamFmt iamFormat
    	path := getIAMFormatFilePath()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top