Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make comments in the config.yaml for provisioning and certificates clearer. #4542

Merged
merged 3 commits into from
Mar 6, 2021

Conversation

arsing
Copy link
Member

@arsing arsing commented Mar 4, 2021

  • Grammar and capitalization ("ID", "DPS", etc).

  • Consistent wording to refer to certificates and private keys.
    ("Path of the X certificate", "Path of the private key of the X certificate").

  • Clarify that all certificate and private key paths are specified as file URIs,
    with examples.

  • Split DPS provisioning sections into one section per attestation method,
    and dispense with the awkward "Required if... Optional if..." prologue
    on every field.

  • Clarify what always_reprovision_on_startup and dynamic_reprovisioning do
    more clearly, especially their defaults.

  • Consistently document always_reprovision_on_startup and
    auto_generated_ca_lifetime_days in all config files.

…earer.

- Grammar and capitalization ("ID", "DPS", etc).

- Consistent wording to refer to certificates and private keys.
  ("Path of the X certificate", "Path of the private key of the X certificate").

- Clarify that all certificate and private key paths are specified as file URIs,
  with examples.

- Split DPS provisioning sections into one section per attestation method,
  and dispense with the awkward "Required if... Optional if..." prologue
  on every field.

- Clarify `dynamic_reprovisioning` some more, especially its default.

- Consistently document `always_reprovision_on_startup` and
  `auto_generated_ca_lifetime_days` in all config files.
Copy link
Contributor

@micahl micahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add similar descriptions to the config.toml. Even if we had a guided walk-through or full UI for configuration, it would still be valuable to have our config.toml document the properties and their expected/accepted value.

@kodiakhq kodiakhq bot merged commit 771be81 into Azure:release/1.1 Mar 6, 2021
@arsing arsing deleted the config-yaml-docs branch March 9, 2021 03:28
darobs pushed a commit to darobs/iotedge that referenced this pull request Mar 22, 2021
…earer. (Azure#4542)

- Grammar and capitalization ("ID", "DPS", etc).

- Consistent wording to refer to certificates and private keys.
  ("Path of the X certificate", "Path of the private key of the X certificate").

- Clarify that all certificate and private key paths are specified as file URIs,
  with examples.

- Split DPS provisioning sections into one section per attestation method,
  and dispense with the awkward "Required if... Optional if..." prologue
  on every field.

- Clarify what `always_reprovision_on_startup` and `dynamic_reprovisioning` do
  more clearly, especially their defaults.

- Consistently document `always_reprovision_on_startup` and
  `auto_generated_ca_lifetime_days` in all config files.
darobs added a commit that referenced this pull request Mar 30, 2021
* Update pipeline triggers for release/1.1 (#4365)

* Make comments in the config.yaml for provisioning and certificates clearer. (#4542)

* fail and drop message on authentication error with Scope authentication (#4451)

* Update ASP.NET Core Runtime base images (#4573)

* Prepare for Release 1.1.1 (#4585)

* Fix NugetSecurity warning for Long Haul pipeline (#4588)

* add guid to module and device name (#4589)

* Fix typo in `always_reprovision_on_startup` config.yaml docs. (#4612)

* Prepare for Release 1.1.1 (pt2) (#4617)

Co-authored-by: Damon Barry <damonbarry@users.noreply.github.com>
Co-authored-by: Arnav Singh <arsing@microsoft.com>
Co-authored-by: Anca Antochi <ancan@microsoft.com>
Co-authored-by: David Lu <davilu@microsoft.com>
Co-authored-by: yophilav <54859653+yophilav@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants