1CDIST-TYPE__APT_KEY(7) cdist CDIST-TYPE__APT_KEY(7)
2
3
4
6 cdist-type__apt_key - Manage the list of keys used by apt
7
9 Manages the list of keys used by apt to authenticate packages.
10
12 None.
13
15 state 'present' or 'absent'. Defaults to 'present'
16
17 keyid the id of the key to add. Defaults to __object_id
18
19 keyserver
20 the keyserver from which to fetch the key. If omitted the
21 default set in ./parameter/default/keyserver is used.
22
23 keydir key save location, defaults to /etc/apt/trusted.pgp.d
24
25 uri the URI from which to download the key
26
28 # Add Ubuntu Archive Automatic Signing Key
29 __apt_key 437D05B5
30 # Same thing
31 __apt_key 437D05B5 --state present
32 # Get rid of it
33 __apt_key 437D05B5 --state absent
34
35 # same thing with human readable name and explicit keyid
36 __apt_key UbuntuArchiveKey --keyid 437D05B5
37
38 # same thing with other keyserver
39 __apt_key UbuntuArchiveKey --keyid 437D05B5 --keyserver keyserver.ubuntu.com
40
41 # download key from the internet
42 __apt_key rabbitmq \
43 --uri http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
44
46 Steven Armstrong <steven-cdist--@--armstrong.cc> Ander Punnar
47 <ander-at-kvlt-dot-ee>
48
50 Copyright (C) 2011-2019 Steven Armstrong and Ander Punnar. You can
51 redistribute it and/or modify it under the terms of the GNU General
52 Public License as published by the Free Software Foundation, either
53 version 3 of the License, or (at your option) any later version.
54
56 ungleich GmbH 2020
57
58
59
60
616.9.4 Dec 21, 2020 CDIST-TYPE__APT_KEY(7)