Class: Cline::Secrets
- Defined in:
- lib/cline/secrets.rb
Overview
Access secrets stored in the data directory's secrets.json file
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#aihubmix_api_key ⇒ SecretString?
AIHubMix API key.
-
#api_key ⇒ SecretString?
Generic API key.
-
#asksage_api_key ⇒ SecretString?
AskSage API key.
-
#aws_access_key ⇒ SecretString?
AWS access key.
-
#aws_secret_key ⇒ SecretString?
AWS secret key.
-
#aws_session_token ⇒ SecretString?
AWS session token.
-
#baseten_api_key ⇒ SecretString?
Baseten API key.
-
#cerebras_api_key ⇒ SecretString?
Cerebras API key.
-
#cline_api_key ⇒ SecretString?
Cline API key.
-
#deep_seek_api_key ⇒ SecretString?
DeepSeek API key.
-
#dify_api_key ⇒ SecretString?
Dify API key.
-
#doubao_api_key ⇒ SecretString?
Doubao API key.
-
#fireworks_api_key ⇒ SecretString?
Fireworks API key.
-
#gemini_api_key ⇒ SecretString?
Gemini API key.
-
#groq_api_key ⇒ SecretString?
Groq API key.
-
#hicap_api_key ⇒ SecretString?
Hicap API key.
-
#huawei_cloud_maas_api_key ⇒ SecretString?
Huawei Cloud Maas API key.
-
#hugging_face_api_key ⇒ SecretString?
HuggingFace API key.
-
#lite_llm_api_key ⇒ SecretString?
LiteLLM API key.
-
#minimax_api_key ⇒ SecretString?
Minimax API key.
-
#mistral_api_key ⇒ SecretString?
Mistral API key.
-
#moonshot_api_key ⇒ SecretString?
Moonshot API key.
-
#nebius_api_key ⇒ SecretString?
Nebius API key.
-
#nous_research_api_key ⇒ SecretString?
Nous Research API key.
-
#open_ai_api_key ⇒ SecretString?
OpenAI API key.
-
#open_ai_native_api_key ⇒ SecretString?
OpenAI native API key.
-
#open_router_api_key ⇒ SecretString?
OpenRouter API key.
-
#qwen_api_key ⇒ SecretString?
Qwen API key.
-
#requesty_api_key ⇒ SecretString?
Requesty API key.
-
#sambanova_api_key ⇒ SecretString?
Sambanova API key.
-
#sap_ai_core_client_id ⇒ SecretString?
SAP AI Core client ID.
-
#sap_ai_core_client_secret ⇒ SecretString?
SAP AI Core client secret.
-
#together_api_key ⇒ SecretString?
Together API key.
-
#vercel_ai_gateway_api_key ⇒ SecretString?
Vercel AI Gateway API key.
-
#wandb_api_key ⇒ SecretString?
Weights & Biases API key.
-
#xai_api_key ⇒ SecretString?
XAI API key.
-
#zai_api_key ⇒ SecretString?
ZAI API key.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#aihubmix_api_key ⇒ SecretString?
Returns AIHubMix API key.
111 |
# File 'lib/cline/secrets.rb', line 111 attribute :aihubmix_api_key, SecretString |
#api_key ⇒ SecretString?
Returns Generic API key.
18 |
# File 'lib/cline/secrets.rb', line 18 attribute :api_key, SecretString |
#asksage_api_key ⇒ SecretString?
Returns AskSage API key.
90 |
# File 'lib/cline/secrets.rb', line 90 attribute :asksage_api_key, SecretString |
#aws_access_key ⇒ SecretString?
Returns AWS access key.
21 |
# File 'lib/cline/secrets.rb', line 21 attribute :aws_access_key, SecretString |
#aws_secret_key ⇒ SecretString?
Returns AWS secret key.
24 |
# File 'lib/cline/secrets.rb', line 24 attribute :aws_secret_key, SecretString |
#aws_session_token ⇒ SecretString?
Returns AWS session token.
27 |
# File 'lib/cline/secrets.rb', line 27 attribute :aws_session_token, SecretString |
#baseten_api_key ⇒ SecretString?
Returns Baseten API key.
63 |
# File 'lib/cline/secrets.rb', line 63 attribute :baseten_api_key, SecretString |
#cerebras_api_key ⇒ SecretString?
Returns Cerebras API key.
57 |
# File 'lib/cline/secrets.rb', line 57 attribute :cerebras_api_key, SecretString |
#cline_api_key ⇒ SecretString?
Returns Cline API key.
9 |
# File 'lib/cline/secrets.rb', line 9 attribute :cline_api_key, SecretString |
#deep_seek_api_key ⇒ SecretString?
Returns DeepSeek API key.
30 |
# File 'lib/cline/secrets.rb', line 30 attribute :deep_seek_api_key, SecretString |
#dify_api_key ⇒ SecretString?
Returns Dify API key.
102 |
# File 'lib/cline/secrets.rb', line 102 attribute :dify_api_key, SecretString |
#doubao_api_key ⇒ SecretString?
Returns Doubao API key.
78 |
# File 'lib/cline/secrets.rb', line 78 attribute :doubao_api_key, SecretString |
#fireworks_api_key ⇒ SecretString?
Returns Fireworks API key.
69 |
# File 'lib/cline/secrets.rb', line 69 attribute :fireworks_api_key, SecretString |
#gemini_api_key ⇒ SecretString?
Returns Gemini API key.
15 |
# File 'lib/cline/secrets.rb', line 15 attribute :gemini_api_key, SecretString |
#groq_api_key ⇒ SecretString?
Returns Groq API key.
54 |
# File 'lib/cline/secrets.rb', line 54 attribute :groq_api_key, SecretString |
#hicap_api_key ⇒ SecretString?
Returns Hicap API key.
108 |
# File 'lib/cline/secrets.rb', line 108 attribute :hicap_api_key, SecretString |
#huawei_cloud_maas_api_key ⇒ SecretString?
Returns Huawei Cloud Maas API key.
99 |
# File 'lib/cline/secrets.rb', line 99 attribute :huawei_cloud_maas_api_key, SecretString |
#hugging_face_api_key ⇒ SecretString?
Returns HuggingFace API key.
84 |
# File 'lib/cline/secrets.rb', line 84 attribute :hugging_face_api_key, SecretString |
#lite_llm_api_key ⇒ SecretString?
Returns LiteLLM API key.
39 |
# File 'lib/cline/secrets.rb', line 39 attribute :lite_llm_api_key, SecretString |
#minimax_api_key ⇒ SecretString?
Returns Minimax API key.
105 |
# File 'lib/cline/secrets.rb', line 105 attribute :minimax_api_key, SecretString |
#mistral_api_key ⇒ SecretString?
Returns Mistral API key.
48 |
# File 'lib/cline/secrets.rb', line 48 attribute :mistral_api_key, SecretString |
#moonshot_api_key ⇒ SecretString?
Returns Moonshot API key.
81 |
# File 'lib/cline/secrets.rb', line 81 attribute :moonshot_api_key, SecretString |
#nebius_api_key ⇒ SecretString?
Returns Nebius API key.
87 |
# File 'lib/cline/secrets.rb', line 87 attribute :nebius_api_key, SecretString |
#nous_research_api_key ⇒ SecretString?
Returns Nous Research API key.
114 |
# File 'lib/cline/secrets.rb', line 114 attribute :nous_research_api_key, SecretString |
#open_ai_api_key ⇒ SecretString?
Returns OpenAI API key.
12 |
# File 'lib/cline/secrets.rb', line 12 attribute :open_ai_api_key, SecretString |
#open_ai_native_api_key ⇒ SecretString?
Returns OpenAI native API key.
33 |
# File 'lib/cline/secrets.rb', line 33 attribute :open_ai_native_api_key, SecretString |
#open_router_api_key ⇒ SecretString?
Returns OpenRouter API key.
36 |
# File 'lib/cline/secrets.rb', line 36 attribute :open_router_api_key, SecretString |
#qwen_api_key ⇒ SecretString?
Returns Qwen API key.
75 |
# File 'lib/cline/secrets.rb', line 75 attribute :qwen_api_key, SecretString |
#requesty_api_key ⇒ SecretString?
Returns Requesty API key.
66 |
# File 'lib/cline/secrets.rb', line 66 attribute :requesty_api_key, SecretString |
#sambanova_api_key ⇒ SecretString?
Returns Sambanova API key.
96 |
# File 'lib/cline/secrets.rb', line 96 attribute :sambanova_api_key, SecretString |
#sap_ai_core_client_id ⇒ SecretString?
Returns SAP AI Core client ID.
42 |
# File 'lib/cline/secrets.rb', line 42 attribute :sap_ai_core_client_id, SecretString |
#sap_ai_core_client_secret ⇒ SecretString?
Returns SAP AI Core client secret.
45 |
# File 'lib/cline/secrets.rb', line 45 attribute :sap_ai_core_client_secret, SecretString |
#together_api_key ⇒ SecretString?
Returns Together API key.
72 |
# File 'lib/cline/secrets.rb', line 72 attribute :together_api_key, SecretString |
#vercel_ai_gateway_api_key ⇒ SecretString?
Returns Vercel AI Gateway API key.
60 |
# File 'lib/cline/secrets.rb', line 60 attribute :vercel_ai_gateway_api_key, SecretString |
#wandb_api_key ⇒ SecretString?
Returns Weights & Biases API key.
117 |
# File 'lib/cline/secrets.rb', line 117 attribute :wandb_api_key, SecretString |
#xai_api_key ⇒ SecretString?
Returns xAI API key.
93 |
# File 'lib/cline/secrets.rb', line 93 attribute :xai_api_key, SecretString |
#zai_api_key ⇒ SecretString?
Returns ZAI API key.
51 |
# File 'lib/cline/secrets.rb', line 51 attribute :zai_api_key, SecretString |