Helper: create an API record and return its UUID.
(executor: &mut CommandExecutor, name: &str, secret_key: &str)
source not stored for this graph (policy: none)