Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for secret (0.15 sec)

  1. cmd/admin-handlers-config-kv.go

    // 2. `subsys:` -> request for config of a single subsystem and the default target.
    // 3. `subsys` -> request for config of all targets for the given subsystem.
    //
    // This is a reporting API and config secrets are redacted in the response.
    func (a adminAPIHandlers) GetConfigKVHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. internal/config/crypto.go

    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/kms"
    	"github.com/secure-io/sio-go"
    	"github.com/secure-io/sio-go/sioutil"
    )
    
    // EncryptBytes encrypts the plaintext with a key managed by KMS.
    // The context is bound to the returned ciphertext.
    //
    // The same context must be provided when decrypting the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. internal/kms/single-key.go

    import (
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/hmac"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"net/http"
    	"strconv"
    	"strings"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/secure-io/sio-go/sioutil"
    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    					// credentials update is possible only in bucket replication. User will never
    					// know the site replicator creds.
    					tgt.Credentials = target.Credentials
    					tgt.TargetBucket = target.TargetBucket
    					tgt.Secure = target.Secure
    					tgt.Endpoint = target.Endpoint
    				}
    			case madmin.SyncUpdateType:
    				tgt.ReplicationSync = target.ReplicationSync
    			case madmin.ProxyUpdateType:
    				tgt.DisableProxy = target.DisableProxy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. internal/config/errors.go

    		"Please provide correct credentials",
    		`Access key length should be at least 3, and secret key length at least 8 characters`,
    	)
    
    	ErrMissingEnvCredentialRootUser = newErrFn(
    		"Missing credential environment variable, \""+EnvRootUser+"\"",
    		"Environment variable \""+EnvRootUser+"\" is missing",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. internal/kms/config.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    // Top level config constants for KMS
    const (
    	EnvKMSSecretKey        = "MINIO_KMS_SECRET_KEY"
    	EnvKMSSecretKeyFile    = "MINIO_KMS_SECRET_KEY_FILE"
    	EnvKESEndpoint         = "MINIO_KMS_KES_ENDPOINT"       // One or multiple KES endpoints, separated by ','
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    	}
    	return nil
    }
    
    // getTokenSigningKey returns secret key used to sign JWT session tokens
    func getTokenSigningKey() (string, error) {
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() {
    		c, err := globalSiteReplicatorCred.Get(GlobalContext)
    		if err != nil {
    			return "", err
    		}
    		return c.SecretKey, nil
    	}
    	return secret, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. internal/auth/credentials.go

    	// There is no max length enforcement for access keys
    	accessKeyMaxLen = 20
    
    	// Minimum length for MinIO secret key for both server
    	secretKeyMinLen = 8
    
    	// Maximum secret key length for MinIO, this
    	// is used when autogenerating new credentials.
    	// There is no max length enforcement for secret keys
    	secretKeyMaxLen = 40
    
    	// Alpha numeric table used for generating access keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. internal/config/config.go

    		return
    	}
    
    	if target == "" {
    		target = Default
    	}
    
    	if redactSecrets {
    		// If the configuration parameter is a secret, make sure to redact it when
    		// we return.
    		helpKV, _ := HelpSubSysMap[subSys].Lookup(cfgParam)
    		if helpKV.Secret {
    			defer func() {
    				value = ""
    				isRedacted = true
    			}()
    		}
    	}
    
    	envVar := getEnvVarName(subSys, target, cfgParam)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. internal/config/policy/plugin/help.go

    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: "authorization header for plugin hook endpoint" + defaultHelpPostfix(AuthToken),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         EnableHTTP2,
    			Description: "Enable experimental HTTP2 support to connect to plugin service" + defaultHelpPostfix(EnableHTTP2),
    			Optional:    true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top