Skip to content

Fix decoding enrollment profiles#20984

Merged
edwardsb merged 2 commits intomainfrom
edwardsb-migration-profile-fix
Aug 2, 2024
Merged

Fix decoding enrollment profiles#20984
edwardsb merged 2 commits intomainfrom
edwardsb-migration-profile-fix

Conversation

@edwardsb
Copy link
Copy Markdown
Contributor

@edwardsb edwardsb commented Aug 2, 2024

FLEET_SILENT_MIGRATION_ENROLLMENT_PROFILE should be expected to be a base64 encoded string of an enrollment file. Encoding is necessary as encrypted profiles have binary data which doesn't work well as env var values.

@edwardsb edwardsb requested a review from a team as a code owner August 2, 2024 03:44
Copy link
Copy Markdown
Contributor

@roperzh roperzh left a comment

Choose a reason for hiding this comment

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

LGTM! thank you!!

unfortunately tests are broken in main, but this seems 100% all the changes needed.

@edwardsb edwardsb merged commit d1149a0 into main Aug 2, 2024
@edwardsb edwardsb deleted the edwardsb-migration-profile-fix branch August 2, 2024 15:34
roperzh pushed a commit that referenced this pull request Aug 7, 2024
@roperzh roperzh added this to the 4.55.0 milestone Aug 7, 2024
roperzh added a commit that referenced this pull request Aug 7, 2024
This is a backport of d1149a0 which is
already merged in `main`

Co-authored-by: Benjamin Edwards <edwards.benw@gmail.com>
@lukeheath lukeheath mentioned this pull request Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants