atmos store delete
Remove a value from a configured store backend. Atmos asks you to confirm before it deletes the value. To skip this prompt, pass --force. If the backend does not support deletion, this command returns an error. Examples of backends that do not support deletion are Redis and Artifactory. You can also run this command with the rm or unset alias.
Usage
atmos store delete STORE KEY [flags]
Examples
# Delete a value, prompting for confirmation
atmos store delete app-metadata image_tag --stack=prod --component=ecs-service
# Delete without a confirmation prompt
atmos store delete app-metadata image_tag --stack=prod --component=ecs-service --force
# Use the `rm` alias
atmos store rm app-metadata image_tag --stack=prod --component=ecs-service
# Use the `unset` alias
atmos store unset app-metadata image_tag --stack=prod --component=ecs-service
Arguments
STOREThe name of the configured store backend to delete from.
KEYThe key to remove.
Flags
--stack(alias-s)The Atmos stack used to scope the key when set. This flag is optional. It must match the value used with
set.Environment variable:
ATMOS_STACK--component(alias-c)The Atmos component used to scope the key when set. This flag is optional. It must match the value used with
set.Environment variable:
ATMOS_COMPONENT--identity(alias-i)The identity Atmos uses to access the store backend.
Environment variable:
ATMOS_IDENTITY--force(alias-f)Delete the value. Do not ask for confirmation.
See Also
- atmos store — Overview of the store command group