Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Implementation (0.27 sec)

  1. internal/kms/secret-key.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // ParseSecretKey parses s as <key-id>:<base64> and returns a
    // KMS that uses s as builtin single key as KMS implementation.
    func ParseSecretKey(s string) (*KMS, error) {
    	v := strings.SplitN(s, ":", 2)
    	if len(v) != 2 {
    		return nil, errors.New("kms: invalid secret key format")
    	}
    
    	keyID, b64Key := v[0], v[1]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/bitrot-streaming.go

    // The output is written to the supplied writer w.
    func newStreamingBitrotWriterBuffer(w io.Writer, algo BitrotAlgorithm, shardSize int64) io.Writer {
    	return &streamingBitrotWriter{iow: ioutil.NopCloser(w), h: algo.New(), shardSize: shardSize, canClose: nil, closeWithErr: func(err error) {}}
    }
    
    // Returns streaming bitrot writer implementation.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. internal/arn/arn.go

    package arn
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. cmd/warm-backend.go

    func errIsTierPermError(err error) bool {
    	var tpErr tierPermErr
    	return errors.As(err, &tpErr)
    }
    
    // remoteVersionID represents the version id of an object in the remote tier.
    // Its usage is remote tier cloud implementation specific.
    type remoteVersionID string
    
    // newWarmBackend instantiates the tier type specific WarmBackend, runs
    // checkWarmBackend on it.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. internal/kms/conn.go

    package kms
    
    import (
    	"context"
    	"encoding"
    	"encoding/json"
    	"strconv"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    )
    
    // conn represents a connection to a KMS implementation.
    // It's implemented by the MinKMS and KES client wrappers
    // and the static / single key KMS.
    type conn interface {
    	// Version returns version information about the KMS.
    	//
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/logging.go

    type KMSLogger struct{}
    
    // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
    func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "kms", err, id, errKind...)
    }
    
    // LogIf is the implementation of LogIf, accessible using the Logger interface
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. docs/ftp/README.md

    ```
    
    ### Certificate-based authentication
    
    `--sftp=trusted-user-ca-key=...` specifies a file containing public key of certificate authority that is trusted
    to sign user certificates for authentication.
    
    Implementation is identical with "TrustedUserCAKeys" setting in OpenSSH server with exception that only one CA
    key can be defined.
    
    If a certificate is presented for authentication and has its signing CA key is in this file, then it may be
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. internal/config/identity/openid/providercfg.go

    	if p.RolePolicy == "" {
    		return ""
    	}
    	return p.roleArn.String()
    }
    
    // UserInfo returns claims for authenticated user from userInfo endpoint.
    //
    // Some OIDC implementations such as GitLab do not support
    // claims as part of the normal oauth2 flow, instead rely
    // on service providers making calls to IDP to fetch additional
    // claims available from the UserInfo endpoint
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top