canonical/cloud-init

[feature] support key by url in apt configure module

開放

#4,076 建立於 2023年5月12日

 (16 則留言) (0 個反應) (0 位負責人)Python (1,108 個分叉)auto 404
enhancementgood first issuehacktoberfestlaunchpad

倉庫指標

星標
 (3,772 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

This bug was originally filed in Launchpad as LP: #2006775

Launchpad user Brett Holman(holmanb) wrote on 2023-02-09T19:08:55.982578+00:00

A common way of distributing keys is by hosting them at a URL for download. This is not currently supported by the apt configure module, and would be a simple addition.

Example usage (note the suggested 'keyurl' key)

apt:
  sources:
      source1:
          keyurl: 'https://domain.io/keys/key1.gpg'
          source: 'deb [signed-by=$KEY_FILE] http://<url>/ jammy main'

貢獻者指南