> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cli-ionosctl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cli-ionosctl/subcommands/object-storage/object/retention.md).

# retention

- [get](https://docs.ionos.com/cli-ionosctl/subcommands/object-storage/object/retention/get.md): Get the Object Lock retention configuration for an object
- [put](https://docs.ionos.com/cli-ionosctl/subcommands/object-storage/object/retention/put.md): Apply a retention configuration to an object
