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

Build Tests for TNS Submissions #11

Open
tabbott36 opened this issue Oct 22, 2024 · 0 comments
Open

Build Tests for TNS Submissions #11

tabbott36 opened this issue Oct 22, 2024 · 0 comments

Comments

@tabbott36
Copy link
Contributor

The TNS Submissions require sensitive information such as API keys. This information is currently protected using Pydantic's SecretStr class, however, the secret strings are not JSON serializable. This is preventing tests from being run on the TNS submissions.

Attempt at a solution: the data can be serialized using Pydantic's .get_secret_value() , however, this potentially puts sensitive information at risk when running tests. The desired solution would use either (1) enable TNS sandbox submissions using a "dummy" API key or (2) use the user's API key stored in their environment variables.

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

No branches or pull requests

1 participant