create-service-key - Cloud Foundry CLI Reference Guide


NAME

create-service-key - Create key for a service instance

SYNTAXE

cf create-service-key SERVICE_INSTANCE SERVICE_KEY [-c PARAMETERS_AS_JSON] [--wait] Optionally provide service-specific configuration parameters in a valid JSON object in-line. cf create-service-key SERVICE_INSTANCE SERVICE_KEY -c '{"name":"value","name":"value"}' Optionally provide a file containing service-specific configuration parameters in a valid JSON object. The path to the parameters file can be an absolute or relative path to a file. cf create-service-key SERVICE_INSTANCE SERVICE_KEY -c PATH_TO_FILE Example of valid JSON object: { "permissions": "read-only" }

EXAMPLES

cf create-service-key mydb mykey -c '{"permissions":"read-only"}' cf create-service-key mydb mykey -c ~/workspace/tmp/instance_config.json

ALIAS

csk

OPTIONS

-c

Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.

--wait, -w

Wait for the operation to complete

SEE ALSO

service-key