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

Example of handling Sensitive:true / encrypted values for PAN-OS #78

Open
Tracked by #66
migara opened this issue Apr 19, 2024 · 2 comments
Open
Tracked by #66

Example of handling Sensitive:true / encrypted values for PAN-OS #78

migara opened this issue Apr 19, 2024 · 2 comments

Comments

@migara
Copy link
Member

migara commented Apr 19, 2024

In some cases PAN-OS returns encrypted values in the response, and we need to handle these cases when storing it in the state.

@migara migara mentioned this issue Apr 19, 2024
21 tasks
@shinmog
Copy link
Collaborator

shinmog commented Apr 25, 2024

Handling encrypted values means adding a single Computed: true map to the resource. This map will hold both the unencrypted and encrypted values. The key into this map is a unique string that defines where the encrypted value resides within the normalized object.

There are a few places in scm where it needs to deal with encrypted values, and while some changes will be needed when porting it over here, for the most part it is a straight port over. The only work that needs to be done is determining how to refer to encrypted value within the config struct as a whole.

@migara
Copy link
Member Author

migara commented Jun 12, 2024

more context here #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants