content/integrate/write-behind/reference/cli/redis-di-set-secret.md
Usage: redis-di set-secret [OPTIONS]
loglevel:
info--loglevel -log-levelcluster_host (REQUIRED):
none--cluster-hostHost/IP of Redis Enterprise Cluster (service name in case of k8s)
cluster_api_port (REQUIRED):
9443--cluster-api-portAPI Port of Redis Enterprise Cluster
cluster_user (REQUIRED):
none--cluster-userRedis Enterprise Cluster username with either DB Member, Cluster Member or Cluster Admin roles
cluster_password:
none--cluster-passwordRedis Enterprise Cluster Password
rdi_host (REQUIRED):
none--rdi-hostHost/IP of Write-behind Database
rdi_port (REQUIRED):
none--rdi-portPort of Write-behind Database
rdi_password:
none--rdi-passwordWrite-behind Database Password
rdi_key:
none--rdi-keyPrivate key file to authenticate with
rdi_cert:
none--rdi-certClient certificate file to authenticate with
rdi_cacert:
none--rdi-cacertCA certificate file to verify with
rdi_key_password:
none--rdi-key-passwordPassword for unlocking an encrypted private key
secret_name (REQUIRED):
none--secret-nameThe name of the secret
secret_value (REQUIRED):
none--secret-valueThe value of the secret
help:
false--helpShow this message and exit.
Usage: redis-di set-secret [OPTIONS]
Writes a secret to Redis secret store
Options:
-log-level, --loglevel [DEBUG|INFO|WARN|ERROR|CRITICAL]
[default: INFO]
--cluster-host TEXT Host/IP of Redis Enterprise Cluster (service
name in case of k8s) [required]
--cluster-api-port INTEGER RANGE
API Port of Redis Enterprise Cluster
[default: 9443; 1000<=x<=65535; required]
--cluster-user TEXT Redis Enterprise Cluster username with
either DB Member, Cluster Member or Cluster
Admin roles [required]
--cluster-password TEXT Redis Enterprise Cluster Password
--rdi-host TEXT Host/IP of Write-behind Database [required]
--rdi-port INTEGER RANGE Port of Write-behind Database [1000<=x<=65535;
required]
--rdi-password TEXT Write-behind Database Password
--rdi-key TEXT Private key file to authenticate with
--rdi-cert TEXT Client certificate file to authenticate with
--rdi-cacert TEXT CA certificate file to verify with
--rdi-key-password TEXT Password for unlocking an encrypted private
key
--secret-name TEXT The name of the secret [required]
--secret-value TEXT The value of the secret [required]
--help Show this message and exit.