You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Os comandos `kubectl get` e `kubectl describe` omitem o conteúdo de um `Secret` por padrão.
143
+
Isso para proteger o `Secret` de ser exposto acidentalmente para uma pessoa não autorizada,
144
+
ou ser armazenado em um log de terminal.
145
+
Para verificar o conteúdo atual de um dado codificado, veja [decodificando secret](/docs/tasks/configmap-secret/managing-secret-using-kubectl/#decoding-secret).
151
146
152
-
If a field, such as `username`, is specified in both `data` and `stringData`,
153
-
the value from `stringData` is used. For example, the following Secret definition:
147
+
Se um campo, como `username`, é especificado em `data` e `stringData`,
148
+
o valor de `stringData` é o usado. Por exemplo, dado a seguinte definição do Secret:
154
149
155
150
```yaml
156
151
apiVersion: v1
@@ -164,7 +159,7 @@ stringData:
164
159
username: administrator
165
160
```
166
161
167
-
Results in the following Secret:
162
+
Resulta no seguinte Secret:
168
163
169
164
```yaml
170
165
apiVersion: v1
@@ -180,19 +175,19 @@ data:
180
175
username: YWRtaW5pc3RyYXRvcg==
181
176
```
182
177
183
-
Where `YWRtaW5pc3RyYXRvcg==` decodes to `administrator`.
178
+
Onde `YWRtaW5pc3RyYXRvcg==` é decodificado em `administrator`.
184
179
185
-
## Clean Up
180
+
## Limpeza
186
181
187
-
To delete the Secret you have created:
182
+
Para apagar o Secret que você criou:
188
183
189
184
```shell
190
185
kubectl delete secret mysecret
191
186
```
192
187
193
188
## {{% heading "whatsnext" %}}
194
189
195
-
- Read more about the [Secret concept](/docs/concepts/configuration/secret/)
196
-
- Learn how to [manage Secret with the `kubectl` command](/docs/tasks/configmap-secret/managing-secret-using-kubectl/)
197
-
- Learn how to [manage Secret using kustomize](/docs/tasks/configmap-secret/managing-secret-using-kustomize/)
190
+
- Leia mais sobre o [conceito do Secret](/docs/concepts/configuration/secret/)
191
+
- Leia sobre como [gerenciar Secret com o comando `kubectl`](/docs/tasks/configmap-secret/managing-secret-using-kubectl/)
192
+
- Leia sobre como [gerenciar Secret usando kustomize](/docs/tasks/configmap-secret/managing-secret-using-kustomize/)
0 commit comments