---
title: boot-source
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2950.demos.haus/maas/docs/boot-source?format=md
---

*Submit*

# boot-source

Enter keyword arguments in the form `key=value`.

## [Delete a boot source](https://canonical-com-2950.demos.haus/maas/docs/boot-source?format=md#p-14161-delete-a-boot-source)

```
maas $PROFILE boot-source delete [--help] [-d] [-k] id [data ...]
```

#### Positional arguments

* id

Delete a boot source with the given id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Read a boot source](https://canonical-com-2950.demos.haus/maas/docs/boot-source?format=md#p-14161-read-a-boot-source)

```
maas $PROFILE boot-source read [--help] [-d] [-k] id [data ...]
```

#### Positional arguments

* id

Read a boot source with the given id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Update a boot source](https://canonical-com-2950.demos.haus/maas/docs/boot-source?format=md#p-14161-update-a-boot-source)

```
maas $PROFILE boot-source update [--help] [-d] [-k] id [data ...]
```

#### Positional arguments

* id

Update a boot source with the given id.

#### Keyword “url”

Optional String. The URL of the BootSource.

#### Keyword “keyring\_filename”

Optional String. The path to the keyring file for this BootSource.

#### Keyword “keyring\_data”

Optional String. The GPG keyring for this BootSource, base64-encoded data.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Create a boot source](https://canonical-com-2950.demos.haus/maas/docs/boot-source?format=md#p-14161-create-a-boot-source)

```
maas $PROFILE boot-sources create [--help] [-d] [-k] [data ...]
```

Create a new boot source.

Note that in addition to `url`, you must supply either `keyring_data` or `keyring_filename`.

#### Keyword “url”

Required String. The URL of the BootSource.

#### Keyword “keyring\_filename”

Optional String. The path to the keyring file for this BootSource.

#### Keyword “keyring\_data”

Optional String. The GPG keyring for this BootSource, base64-encoded.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [List boot sources](https://canonical-com-2950.demos.haus/maas/docs/boot-source?format=md#p-14161-list-boot-sources)

```
maas $PROFILE boot-sources read [--help] [-d] [-k] [data ...]
```

List all boot sources.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

---

[Previous

boot-source-selection](https://canonical-com-2950.demos.haus/maas/docs/boot-source-selection)
[Next

changepassword](https://canonical-com-2950.demos.haus/maas/docs/changepassword)

Last updated 1 year, 6 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/boot-source/6850).
