- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for keyData (0.27 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go
} } keyTransformers := []storagevalue.PrefixTransformer{} for _, keyData := range config.Keys { keyData := keyData key, err := base64.StdEncoding.DecodeString(keyData.Secret) if err != nil { return result, fmt.Errorf("could not obtain secret for named key %s: %w", keyData.Name, err) } block, err := aes.NewCipher(key) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 41.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/types.go
// CertData holds PEM-encoded bytes (typically read from a client certificate file). // CertData takes precedence over CertFile CertData []byte // KeyData holds PEM-encoded bytes (typically read from a client certificate key file). // KeyData takes precedence over KeyFile KeyData []byte `datapolicy:"security-key"` // CAData holds PEM-encoded bytes (typically read from a root certificates bundle). // CAData takes precedence over CAFile
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/scheduler/extender.go
cfg.TLSClientConfig.KeyFile = config.TLSConfig.KeyFile cfg.TLSClientConfig.CAFile = config.TLSConfig.CAFile cfg.TLSClientConfig.CertData = config.TLSConfig.CertData cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData cfg.TLSClientConfig.CAData = config.TLSConfig.CAData } if config.EnableHTTPS { hasCA := len(cfg.CAFile) > 0 || len(cfg.CAData) > 0 if !hasCA { cfg.Insecure = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/zz_generated.conversion.go
out.ServerName = in.ServerName out.CertFile = in.CertFile out.KeyFile = in.KeyFile out.CAFile = in.CAFile out.CertData = *(*[]byte)(unsafe.Pointer(&in.CertData)) out.KeyData = *(*[]byte)(unsafe.Pointer(&in.KeyData)) out.CAData = *(*[]byte)(unsafe.Pointer(&in.CAData)) return nil } // Convert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 46.9K bytes - Viewed (0) -
src/crypto/x509/parser.go
return ext, errors.New("x509: malformed extension value field") } ext.Value = val return ext, nil } func parsePublicKey(keyData *publicKeyInfo) (any, error) { oid := keyData.Algorithm.Algorithm params := keyData.Algorithm.Parameters der := cryptobyte.String(keyData.PublicKey.RightAlign()) switch { case oid.Equal(oidPublicKeyRSA): // RSA public keys must have a NULL in the parameters.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
keytype := decodetypeMapKey(d.ldr, d.arch, gotype) valtype := decodetypeMapValue(d.ldr, d.arch, gotype) keydata := d.ldr.Data(keytype) valdata := d.ldr.Data(valtype) keysize, valsize := decodetypeSize(d.arch, keydata), decodetypeSize(d.arch, valdata) keytype, valtype = d.walksymtypedef(d.defgotype(keytype)), d.walksymtypedef(d.defgotype(valtype))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
cmd/kubelet/app/server.go
// a high powered certificate to the kubelet as --kubeconfig and expects // it to be rotated out immediately clientConfig.CertData, clientConfig.KeyData, clientConfig.CertFile, clientConfig.KeyFile, newClientsetFn, ) } func kubeClientConfigOverrides(s *options.KubeletServer, clientConfig *restclient.Config) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:34 UTC 2024 - 53.9K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet_test.go
} certPath := filepath.Join(certDir, "kubelet.cert") keyPath := filepath.Join(certDir, "kubelet.key") if err := removeThenCreate(certPath, cert, os.FileMode(0644)); err != nil { return "", "", err } if err := removeThenCreate(keyPath, key, os.FileMode(0600)); err != nil { return "", "", err } return certPath, keyPath, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:40 UTC 2024 - 7.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
} func TestPathsForCertAndKey(t *testing.T) { crtPath, keyPath := PathsForCertAndKey("/foo", "bar") expectedPath := filepath.FromSlash("/foo/bar.crt") if crtPath != expectedPath { t.Errorf("unexpected certificate path: %s", crtPath) } expectedPath = filepath.FromSlash("/foo/bar.key") if keyPath != expectedPath { t.Errorf("unexpected key path: %s", keyPath) } } func TestPathForCert(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0) -
cmd/iam-etcd-store.go
} return err } func (ies *IAMEtcdStore) watch(ctx context.Context, keyPath string) <-chan iamWatchEvent { ch := make(chan iamWatchEvent) // go routine to read events from the etcd watch channel and send them // down `ch` go func() { for { outerLoop: watchCh := ies.client.Watch(ctx, keyPath, etcd.WithPrefix(), etcd.WithKeysOnly()) for { select { case <-ctx.Done():
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 13.6K bytes - Viewed (0)