Skip to content

Secrets Import documentation#25594

Merged
robmonte merged 24 commits into
mainfrom
docs/secrets-import
Mar 27, 2024
Merged

Secrets Import documentation#25594
robmonte merged 24 commits into
mainfrom
docs/secrets-import

Conversation

@robmonte
Copy link
Copy Markdown
Member

@robmonte robmonte commented Feb 22, 2024

Documentation, API documentation, and CLI documentation for secrets importing.

@robmonte robmonte added this to the 1.16.0 milestone Feb 22, 2024
@robmonte robmonte requested a review from a team as a code owner February 22, 2024 22:02
@github-actions github-actions Bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Feb 22, 2024
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 22, 2024

CI Results:
All Go tests succeeded! ✅

@github-actions
Copy link
Copy Markdown

Build Results:
All builds succeeded! ✅

Copy link
Copy Markdown
Contributor

@maxcoulombe maxcoulombe left a comment

Choose a reason for hiding this comment

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

Good foundation! I'd be curious to see if @yhyakuna or Shailee have thoughts or someone that could help us organize some of this since this is a rather big chunk of new functionality.

An external perspective would be useful to complement our more detail-oriented perspective since we worked on the actual implementation.

Comment thread website/content/docs/commands/operator/import.mdx Outdated
Comment thread website/content/docs/commands/operator/import.mdx Outdated
## Configuration

The `operator import` command uses a dedicated configuration file to specify the source,
destination, and mapping rules.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we explain what are these and what are the types & fields available in the HCL schema?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I feel like instead of explaining here, it should just link to the main docs pages explaining the feature. What do you think?

Comment thread website/content/docs/commands/operator/import.mdx
Comment thread website/content/docs/commands/operator/import.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/commands/operator/import.mdx Outdated
Comment thread website/content/docs/commands/operator/import.mdx Outdated
## Configuration

The `operator import` command uses a dedicated configuration file to specify the source,
destination, and mapping rules.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1

Comment thread website/content/docs/commands/operator/import.mdx Outdated
Comment thread website/content/docs/commands/operator/import.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Copy link
Copy Markdown
Contributor

@schavis schavis left a comment

Choose a reason for hiding this comment

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

Will finish reviewing the last three docs tomorrow

Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/index.mdx
Comment thread website/content/docs/import/index.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
Comment thread website/content/docs/import/mappings.mdx Outdated
@digivava digivava added the docs label Mar 22, 2024
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
robmonte and others added 3 commits March 25, 2024 04:54
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Comment on lines +1 to +6
<Warning title="Experimental">

Experimental features are features in an alpha state or available early in development to
provide as a tech demo experience and are subject to change.
**We strongly discourage using experimental features in production deployments of Vault.**
Experimental features are tested but unproved. Until the feature is verified
through heavy production use, proceed with caution.

</Note> No newline at end of file
</Warning>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

By pure chance someone created a file with this exact same name yesterday before me. I changed the tags in my PR to alpha instead now because this description of experimental does not sound like it fits well with what we're aiming to provide here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That was me, sorry about that! I agree that "alpha" is a better fit 👍🏽

Comment thread website/content/docs/import/gcpsm.mdx Outdated
Comment thread website/content/docs/import/gcpsm.mdx
Comment thread website/content/docs/import/gcpsm.mdx
Comment thread website/content/docs/import/gcpsm.mdx Outdated
Comment thread website/content/docs/import/gcpsm.mdx Outdated
Comment thread website/content/docs/import/gcpsm.mdx Outdated
{
"title": "<code>import</code>",
"path": "commands/operator/import"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry I missed this comment in the original review. We don't currently separate docs based on experimental / alpha / beta status because it'll eventually reach GA and moving the docs around creates a subpar reader experience :)

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants