public Optional<String> key() {
        return Optional.ofNullable(this.key);
    }
@return The key of the secret to select from.  Must be a valid secret key.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/SecretKeySelectorPatch.java