Introduction
The UiForm SDK allows you to store secrets securely in the UiForm Dashboard or using the SDK. All secrets are encrypted in transit using TLS 1.2+ and encrypted at rest using AES-256 encryption. Our security measures ensure your sensitive data remains protected throughout its lifecycle.
External API Keys
To use the full capabilities of UiForm, you need to store securely your AI provider API keys in the UiForm Dashboard or using the SDK.
Object
A model containing API key information for external AI providers.
provider
OpenAI | Anthropic | Gemini | xAI
The AI provider this key is for.
Whether the API key is properly configured.
Optional UTC timestamp of when the key was last updated.
Create
from uiform import UiForm
uiclient = UiForm( )
api_key = uiclient. secrets. external_api_keys. create(
provider= "OpenAI" ,
api_key= "sk-..."
)
Get
from uiform import UiForm
uiclient = UiForm( )
api_key = uiclient. secrets. external_api_keys. get(
provider= "OpenAI" ,
)
List
from uiform import UiForm
uiclient = UiForm( )
list_api_keys = uiclient. secrets. external_api_keys. list ( )
Update
from uiform import UiForm
uiclient = UiForm( )
api_key = uiclient. secrets. external_api_keys. update(
provider= "OpenAI" ,
api_key= "sk-..."
)
Delete
from uiform import UiForm
uiclient = UiForm( )
uiclient. secrets. external_api_keys. delete(
provider= "OpenAI" ,
)