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

Add support for trust tokens #599

Merged
merged 11 commits into from
Jul 17, 2024
Merged

Conversation

hamistao
Copy link
Contributor

This updates the certificate creation to include the trust_token field and both the integration and migration tests. This does not update the LXD mock/unit tests and neither the broken integration tests.

@hamistao hamistao force-pushed the token_auth_tests branch 9 times, most recently from 9e53d16 to c229ba1 Compare July 17, 2024 20:53
@hamistao
Copy link
Contributor Author

@simondeziel This is ready for a review
@ru-fu This also includes some minor changes to the docs if you want to take a look :)

@hamistao hamistao marked this pull request as ready for review July 17, 2024 20:58
setup.cfg Outdated Show resolved Hide resolved
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
This change avoids the unit tests breaking due to the introduced API extension on certificates.create

Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
This is needed to make LXD_TOKEN visible inside the tox environment and
be used for the client authentication tests. Passing all the variables
starting with "LXD_" in case future tests also require env variables.

Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
@simondeziel simondeziel merged commit fb96065 into canonical:main Jul 17, 2024
14 checks passed
@simondeziel
Copy link
Member

Thanks Pedro!

@hamistao hamistao deleted the token_auth_tests branch July 18, 2024 02:55
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