---
name: "cdist-type__apt_key_uri"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__apt_key_uri"
---

# cdist-type\_\_apt\_key\_uri(7)

Add apt key from uri

## NAME

cdist-type\_\_apt\_key\_uri - Add apt key from uri

## DESCRIPTION

Download a key from an uri and add it to the apt keyring.

## REQUIRED PARAMETERS

- **uri**

  the uri from which to download the key

## OPTIONAL PARAMETERS

- **state**

  'present' or 'absent', defaults to 'present'

- **name**

  a name for this key, used when testing if it is already installed. Defaults to \_\_object\_id

## EXAMPLES

```
__apt_key_uri rabbitmq \
   --name 'RabbitMQ Release Signing Key <info@rabbitmq.com>' \
   --uri http://www.rabbitmq.com/rabbitmq-signing-key-public.asc \
   --state present
```

## AUTHORS

Steven Armstrong \<*steven-cdist--@--armstrong.cc*\>

## COPYING

Copyright (C) 2011-2014 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

## COPYRIGHT

ungleich GmbH 2021
